|
|||||||||||
| 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.EJBContextgetEJBHome in class EnterpriseContext.EJBContextImplIllegalStateException - Alwayspublic javax.ejb.EJBLocalHome getEJBLocalHome()
getEJBLocalHome in interface javax.ejb.EJBContextgetEJBLocalHome in class EnterpriseContext.EJBContextImplIllegalStateException - Alwayspublic boolean isCallerInRole(String id)
isCallerInRole in interface javax.ejb.EJBContextisCallerInRole in class EnterpriseContext.EJBContextImplIllegalStateException - Alwayspublic Principal getCallerPrincipal()
getCallerPrincipal in interface javax.ejb.EJBContextgetCallerPrincipal in class EnterpriseContext.EJBContextImplIllegalStateException - Alwayspublic boolean getRollbackOnly()
getRollbackOnly in interface javax.ejb.EJBContextgetRollbackOnly in class EnterpriseContext.EJBContextImplIllegalStateException - If transaction type is not Container,
or no transaction.public void setRollbackOnly()
setRollbackOnly in interface javax.ejb.EJBContextsetRollbackOnly in class EnterpriseContext.EJBContextImplIllegalStateException - 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 | ||||||||||