|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.ejb.EnterpriseContext.EJBContextImpl
Constructor Summary | |
protected |
EnterpriseContext.EJBContextImpl()
|
Method Summary | |
Identity |
getCallerIdentity()
Deprecated. |
Principal |
getCallerPrincipal()
Get the Principal for the current caller. |
javax.ejb.EJBHome |
getEJBHome()
|
javax.ejb.EJBLocalHome |
getEJBLocalHome()
|
Properties |
getEnvironment()
Deprecated. |
boolean |
getRollbackOnly()
|
javax.ejb.TimerService |
getTimerService()
|
UserTransaction |
getUserTransaction()
|
boolean |
isCallerInRole(Identity id)
Deprecated. |
boolean |
isCallerInRole(String roleName)
Checks if the current caller has a given role. |
Object |
lookup(String name)
|
void |
setRollbackOnly()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected EnterpriseContext.EJBContextImpl()
Method Detail |
public Object lookup(String name)
lookup
in interface javax.ejb.EJBContext
public Identity getCallerIdentity()
getCallerIdentity
in interface javax.ejb.EJBContext
public javax.ejb.TimerService getTimerService() throws IllegalStateException
getTimerService
in interface javax.ejb.EJBContext
IllegalStateException
public Principal getCallerPrincipal()
getCallerPrincipal
in interface javax.ejb.EJBContext
public javax.ejb.EJBHome getEJBHome()
getEJBHome
in interface javax.ejb.EJBContext
public javax.ejb.EJBLocalHome getEJBLocalHome()
getEJBLocalHome
in interface javax.ejb.EJBContext
public Properties getEnvironment()
getEnvironment
in interface javax.ejb.EJBContext
public boolean getRollbackOnly()
getRollbackOnly
in interface javax.ejb.EJBContext
public void setRollbackOnly()
setRollbackOnly
in interface javax.ejb.EJBContext
public boolean isCallerInRole(Identity id)
isCallerInRole
in interface javax.ejb.EJBContext
public boolean isCallerInRole(String roleName)
isCallerInRole
in interface javax.ejb.EJBContext
public UserTransaction getUserTransaction()
getUserTransaction
in interface javax.ejb.EJBContext
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |