public class MessageListenerAdapter extends java.lang.Object implements MessageListener, MessageDrivenBean
Constructor and Description |
---|
MessageListenerAdapter(java.lang.Object listener) |
Modifier and Type | Method and Description |
---|---|
void |
ejbCreate() |
void |
ejbRemove() |
java.lang.Object |
getListener() |
void |
onMessage(Message message) |
void |
setMessageDrivenContext(MessageDrivenContext ctx) |
public MessageListenerAdapter(java.lang.Object listener) throws java.lang.NoSuchMethodException
java.lang.NoSuchMethodException
public java.lang.Object getListener()
public void onMessage(Message message)
onMessage
in interface MessageListener
public void ejbCreate() throws java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
public void ejbRemove() throws EJBException
ejbRemove
in interface MessageDrivenBean
EJBException
public void setMessageDrivenContext(MessageDrivenContext ctx) throws EJBException
setMessageDrivenContext
in interface MessageDrivenBean
EJBException