|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.ejb.EnterpriseContext (src)
org.jboss.ejb.MessageDrivenEnterpriseContext
Context for message driven beans.
Nested Class Summary | |
protected class |
MessageDrivenEnterpriseContext.MessageDrivenContextImpl (src)
The EJBContext for MDBs. |
class |
MessageDrivenEnterpriseContext.TimerServiceWrapper (src)
Delegates to the underlying TimerService, after checking access |
Nested classes inherited from class org.jboss.ejb.EnterpriseContext (src) |
EnterpriseContext.EJBContextImpl (src) , EnterpriseContext.UserTransactionImpl (src) |
Field Summary |
Fields inherited from class org.jboss.ejb.EnterpriseContext (src) |
log |
Constructor Summary | |
MessageDrivenEnterpriseContext(java.lang.Object instance,
Container (src) con)
Construct a MessageDrivenEnterpriseContext. |
Method Summary | |
void |
discard()
Calls ejbRemove() on the MDB instance. |
EJBContext (src) |
getEJBContext()
Get the EJBContext object |
MessageDrivenContext (src) |
getMessageDrivenContext()
|
Methods inherited from class org.jboss.ejb.EnterpriseContext (src) |
clear, getCallerPrincipal, getContainer, getId, getInstance, getTransaction, getTxLock, isContainerManagedTx, isLocked, isUserManagedTx, lock, setId, setPrincipal, setTransaction, setUserTransactionStartedListener, unlock |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MessageDrivenEnterpriseContext(java.lang.Object instance, Container (src) con) throws java.lang.Exception
Sets the MDB context and calls ejbCreate().
instance
- An instance of MessageDrivenBeancon
- The container for this MDB.
java.lang.Exception
- EJBException, Error or Exception. If RuntimeException
was thrown by ejbCreate it will be turned into an
EJBException.Method Detail |
public MessageDrivenContext (src) getMessageDrivenContext()
public void discard() throws java.rmi.RemoteException
discard
in class EnterpriseContext (src)
java.rmi.RemoteException
public EJBContext (src) getEJBContext()
EnterpriseContext (src)
getEJBContext
in class EnterpriseContext (src)
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |