|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.ejb.EnterpriseContext.EJBContextImpl
org.jboss.ejb.MessageDrivenEnterpriseContext.MessageDrivenContextImpl
The EJBContext for MDBs.
Constructor Summary | |
protected |
MessageDrivenEnterpriseContext.MessageDrivenContextImpl()
|
Method Summary | |
Principal |
getCallerPrincipal()
Not allowed for MDB. |
javax.ejb.EJBHome |
getEJBHome()
Not allowed for MDB. |
javax.ejb.EJBLocalHome |
getEJBLocalHome()
Not allowed for MDB. |
boolean |
getRollbackOnly()
If transaction type is not Container or there is no transaction then throw an exception. |
boolean |
isCallerInRole(String id)
Not allowed for MDB. |
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 |
getCallerIdentity, getEnvironment, getUserTransaction, isCallerInRole |
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 |
getCallerIdentity, getEnvironment, getUserTransaction, isCallerInRole |
Constructor Detail |
protected MessageDrivenEnterpriseContext.MessageDrivenContextImpl()
Method Detail |
public javax.ejb.EJBHome getEJBHome()
getEJBHome
in interface javax.ejb.EJBContext
getEJBHome
in class EnterpriseContext.EJBContextImpl
IllegalStateException
- Alwayspublic javax.ejb.EJBLocalHome getEJBLocalHome()
getEJBLocalHome
in interface javax.ejb.EJBContext
getEJBLocalHome
in class EnterpriseContext.EJBContextImpl
IllegalStateException
- Alwayspublic boolean isCallerInRole(String id)
isCallerInRole
in interface javax.ejb.EJBContext
isCallerInRole
in class EnterpriseContext.EJBContextImpl
IllegalStateException
- Alwayspublic Principal getCallerPrincipal()
getCallerPrincipal
in interface javax.ejb.EJBContext
getCallerPrincipal
in class EnterpriseContext.EJBContextImpl
IllegalStateException
- Alwayspublic boolean getRollbackOnly()
getRollbackOnly
in interface javax.ejb.EJBContext
getRollbackOnly
in class EnterpriseContext.EJBContextImpl
IllegalStateException
- If transaction type is not Container,
or no transaction.public void setRollbackOnly()
setRollbackOnly
in interface javax.ejb.EJBContext
setRollbackOnly
in class EnterpriseContext.EJBContextImpl
IllegalStateException
- If transaction type is not Container,
or no transaction.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |