public class MessageDrivenContextImpl<X> extends AbstractContext<X> implements MessageDrivenContext
Modifier and Type | Field and Description |
---|---|
protected static L10N |
L |
protected static java.util.logging.Logger |
log |
Modifier and Type | Method and Description |
---|---|
EJBHome |
getEJBHome()
Returns the EJBHome stub for the container.
|
boolean |
getRollbackOnly()
Forces a rollback of the current transaction.
|
AbstractEjbBeanManager<X> |
getServer()
Returns the server which owns this bean.
|
UserTransaction |
getUserTransaction()
Returns the current UserTransaction.
|
boolean |
isCMT() |
void |
setRollbackOnly()
Forces a rollback of the current transaction.
|
java.lang.String |
toString() |
__caucho_setInvokedBusinessInterface, __caucho_timeout_callback, __caucho_timeout_callback, __caucho_timeout_callback, destroy, getCallerIdentity, getCallerPrincipal, getContextData, getEJBLocalHome, getEJBMetaData, getEnvironment, getInvokedBusinessInterface, getTimerService, isCallerInRole, isCallerInRole, isDead, lookup, setDeclaredRoles
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getCallerIdentity, getCallerPrincipal, getContextData, getEJBLocalHome, getEnvironment, getTimerService, isCallerInRole, isCallerInRole, lookup
protected static final L10N L
protected static final java.util.logging.Logger log
public AbstractEjbBeanManager<X> getServer()
AbstractContext
getServer
in class AbstractContext<X>
public boolean isCMT()
public EJBHome getEJBHome()
getEJBHome
in interface EJBContext
getEJBHome
in class AbstractContext<X>
public UserTransaction getUserTransaction() throws java.lang.IllegalStateException
getUserTransaction
in interface EJBContext
getUserTransaction
in class AbstractContext<X>
java.lang.IllegalStateException
public void setRollbackOnly() throws java.lang.IllegalStateException
setRollbackOnly
in interface EJBContext
setRollbackOnly
in class AbstractContext<X>
java.lang.IllegalStateException
public boolean getRollbackOnly() throws java.lang.IllegalStateException
getRollbackOnly
in interface EJBContext
getRollbackOnly
in class AbstractContext<X>
java.lang.IllegalStateException
public java.lang.String toString()
toString
in class java.lang.Object