| java.lang.Object org.mockejb.test.SampleMessageBean
SampleMessageBean | public class SampleMessageBean implements MessageDrivenBean,MessageListener(Code) | | Primitive example of a message bean
author: Alexander Ananiev |
Method Summary | |
public void | ejbCreate() This method is required by the EJB Specification,
but is not used by this bean. | public void | ejbRemove() This method is required by the EJB Specification,
but is not used by this bean. | public void | onMessage(Message msg) | public void | setMessageDrivenContext(MessageDrivenContext ctx) Sets the session context. |
ejbCreate | public void ejbCreate() throws CreateException(Code) | | This method is required by the EJB Specification,
but is not used by this bean.
|
ejbRemove | public void ejbRemove()(Code) | | This method is required by the EJB Specification,
but is not used by this bean.
|
onMessage | public void onMessage(Message msg)(Code) | | Calls StatelessSamppleBean
|
setMessageDrivenContext | public void setMessageDrivenContext(MessageDrivenContext ctx)(Code) | | Sets the session context.
Parameters: ctx - MessageDrivenContext Context for session |
|
|