| |
|
| java.lang.Object ersatz.resourceadapter.MessageTakerMD
Method Summary | |
public void | ejbCreate() The Message driven bean must define an ejbCreate methods with no args. | public void | ejbRemove() A container invokes this method before it ends the life of the message-driven object. | public void | offMessage(String message) | public void | onMessage(String message) | public void | setMessageDrivenContext(MessageDrivenContext ctxt) Set the associated context. |
MessageTakerMD | public MessageTakerMD()(Code) | | |
ejbCreate | public void ejbCreate()(Code) | | The Message driven bean must define an ejbCreate methods with no args.
|
ejbRemove | public void ejbRemove()(Code) | | 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.
throws: EJBException - Thrown by the method to indicate a failure caused bya system-level error. |
offMessage | public void offMessage(String message)(Code) | | offMessage method
|
onMessage | public void onMessage(String message)(Code) | | onMessage method
|
setMessageDrivenContext | public void setMessageDrivenContext(MessageDrivenContext ctxt)(Code) | | Set the associated 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.
Parameters: MessageDrivenContext - A MessageDrivenContext interface for the instance. throws: EJBException - Thrown by the method to indicate a failure caused bya system-level error. |
|
|
|