it.eng.spago.dispatching.jmschannel
Class JmsAdapterMDB

java.lang.Object
  extended by it.eng.spago.dispatching.jmschannel.JmsAdapterMDB

public class JmsAdapterMDB
extends java.lang.Object


Constructor Summary
JmsAdapterMDB()
           
 
Method Summary
 void ejbCreate()
          An ejbCreate method as required by the EJB specification.
 void ejbRemove()
           
 void onMessage(Message message)
           
 void setMessageDrivenContext(MessageDrivenContext newContext)
          Set the associated context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JmsAdapterMDB

public JmsAdapterMDB()
Method Detail

ejbRemove

public void ejbRemove()
               throws EJBException
Throws:
EJBException

setMessageDrivenContext

public void setMessageDrivenContext(MessageDrivenContext newContext)
                             throws EJBException
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:
newContext - A MessageDrivenContext interface for the instance.
Throws:
EJBException - Thrown by the method to indicate a failure caused by a system-level error.

onMessage

public void onMessage(Message message)

ejbCreate

public void ejbCreate()
An ejbCreate method as required by the EJB specification. The container calls the instance?s ejbCreate method immediately after instantiation.