|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ow2.easybeans.examples.timerservice.MessageDrivenBean
public class MessageDrivenBean
Example of Message Driven Bean.
This is an JMS MDB, implementing the MessageListener interface.
Constructor Summary | |
---|---|
MessageDrivenBean()
|
Method Summary | |
---|---|
void |
onMessage(javax.jms.Message message)
Passes a message to the listener. |
void |
theMDBtimerMethod(javax.ejb.Timer timer)
Timeout method that will be called by the timer service when a timer is expiring. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MessageDrivenBean()
Method Detail |
---|
public void onMessage(javax.jms.Message message)
onMessage
in interface javax.jms.MessageListener
message
- - the message passed to the listenerpublic void theMDBtimerMethod(javax.ejb.Timer timer)
timer
- the timer object containing some data.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |