|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.ejb.EnterpriseContext.EJBContextImpl (src)
org.jboss.ejb.MessageDrivenEnterpriseContext.MessageDrivenContextImpl
The EJBContext for MDBs.
Constructor Summary | |
protected |
MessageDrivenEnterpriseContext.MessageDrivenContextImpl()
|
Method Summary | |
java.security.Principal |
getCallerPrincipal()
Obtains the java.security.Principal of the caller. |
EJBHome (src) |
getEJBHome()
Obtain the enterprise bean's remote home interface. |
EJBLocalHome (src) |
getEJBLocalHome()
Obtain the enterprise bean's local home interface. |
boolean |
getRollbackOnly()
If transaction type is not Container or there is no transaction then throw an exception. |
TimerService (src) |
getTimerService()
Get access to the EJB Timer Service. |
UserTransaction (src) |
getUserTransaction()
Obtain the transaction demarcation interface. |
boolean |
isCallerInRole(java.lang.String id)
Tests if the caller has a given role. |
void |
setRollbackOnly()
If transaction type is not Container or there is no transaction then throw an exception. |
Methods inherited from class org.jboss.ejb.EnterpriseContext.EJBContextImpl (src) |
getCallerIdentity, getEnvironment, isCallerInRole, lookup |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.ejb.EJBContext (src) |
getCallerIdentity, getEnvironment, isCallerInRole, lookup |
Constructor Detail |
protected MessageDrivenEnterpriseContext.MessageDrivenContextImpl()
Method Detail |
public EJBHome (src) getEJBHome()
EJBContext (src)
getEJBHome
in interface EJBContext (src)
getEJBHome
in class EnterpriseContext.EJBContextImpl (src)
public EJBLocalHome (src) getEJBLocalHome()
EJBContext (src)
getEJBLocalHome
in interface EJBContext (src)
getEJBLocalHome
in class EnterpriseContext.EJBContextImpl (src)
public TimerService (src) getTimerService() throws java.lang.IllegalStateException
EJBContext (src)
getTimerService
in interface EJBContext (src)
getTimerService
in class EnterpriseContext.EJBContextImpl (src)
java.lang.IllegalStateException
public java.security.Principal getCallerPrincipal()
EJBContext (src)
getCallerPrincipal
in interface EJBContext (src)
getCallerPrincipal
in class EnterpriseContext.EJBContextImpl (src)
public boolean isCallerInRole(java.lang.String id)
EJBContext (src)
isCallerInRole
in interface EJBContext (src)
isCallerInRole
in class EnterpriseContext.EJBContextImpl (src)
public UserTransaction (src) getUserTransaction()
EJBContext (src)
getUserTransaction
in interface EJBContext (src)
getUserTransaction
in class EnterpriseContext.EJBContextImpl (src)
public boolean getRollbackOnly()
getRollbackOnly
in interface EJBContext (src)
getRollbackOnly
in class EnterpriseContext.EJBContextImpl (src)
java.lang.IllegalStateException
- If transaction type is not Container,
or no transaction.public void setRollbackOnly()
setRollbackOnly
in interface EJBContext (src)
setRollbackOnly
in class EnterpriseContext.EJBContextImpl (src)
java.lang.IllegalStateException
- If transaction type is not Container,
or no transaction.
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |