|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cactus.spi.server.MessageDrivenBeanRedirector
public class MessageDrivenBeanRedirector
Generic Message Driven Bean redirector that calls a test method on the server side.
| Constructor Summary | |
|---|---|
MessageDrivenBeanRedirector()
|
|
| Method Summary | |
|---|---|
void |
ejbCreate()
Called by the container to create an instance of this Message Driven bean. |
void |
ejbRemove()
The container invokes this method when the instance is about to be discarded. |
void |
onMessage(javax.jms.Message theMessage)
Receives a message from a JMS Queue and make it available to the test case. |
void |
setMessageDrivenContext(javax.ejb.MessageDrivenContext theContext)
Sets the Message context (automatically called by the container). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MessageDrivenBeanRedirector()
| Method Detail |
|---|
public void setMessageDrivenContext(javax.ejb.MessageDrivenContext theContext)
setMessageDrivenContext in interface javax.ejb.MessageDrivenBeantheContext - the Message context
public void ejbCreate()
throws javax.ejb.CreateException
javax.ejb.CreateException - see the EJB specificationpublic void ejbRemove()
ejbRemove in interface javax.ejb.MessageDrivenBeanpublic void onMessage(javax.jms.Message theMessage)
onMessage in interface javax.jms.MessageListenertheMessage - the JMS Message
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||