|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.test.messagedriven.beans.TestMessageDriven
A Test Message Driven Bean
| Field Summary | |
protected MessageDrivenContext (src) |
ctx
|
protected static Logger (src) |
log
|
protected TestMessageDrivenManagementMBean (src) |
mbean
|
| Constructor Summary | |
TestMessageDriven()
|
|
| Method Summary | |
void |
ejbCreate()
|
void |
ejbRemove()
A container invokes this method before it ends the life of the message-driven object. |
java.lang.String |
getRollback()
|
boolean |
isDLQ(Message (src) message)
|
void |
logProperties()
|
Transaction (src) |
logTransaction()
|
void |
onMessage(Message (src) message)
Passes a message to the listener. |
void |
setMessageDrivenContext(MessageDrivenContext (src) ctx)
Set the associated message-driven context. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected static final Logger (src) log
protected MessageDrivenContext (src) ctx
protected TestMessageDrivenManagementMBean (src) mbean
| Constructor Detail |
public TestMessageDriven()
| Method Detail |
public void onMessage(Message (src) message)
MessageListener (src)
onMessage in interface MessageListener (src) message - the message passed to the listenerpublic boolean isDLQ(Message (src) message)
public java.lang.String getRollback()
public void logProperties()
public Transaction (src) logTransaction()
public void ejbCreate()
public void ejbRemove()
MessageDrivenBean (src) A container invokes this method before it ends the life of the message-driven object. This happens when a container decides to terminate the message-driven object.
This method is called with no transaction context.
ejbRemove in interface MessageDrivenBean (src) public void setMessageDrivenContext(MessageDrivenContext (src) ctx)
MessageDrivenBean (src) Set the associated message-driven context. The container calls this method after the instance creation.
The enterprise Bean instance should store the reference to the context object in an instance variable.
This method is called with no transaction context.
setMessageDrivenContext in interface MessageDrivenBean (src) ctx - - A MessageDrivenContext interface for the instance.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||