public interface EJBContext
| Modifier and Type | Method and Description |
|---|---|
Identity |
getCallerIdentity()
Deprecated.
|
Principal |
getCallerPrincipal() |
Map<String,Object> |
getContextData() |
EJBHome |
getEJBHome() |
EJBLocalHome |
getEJBLocalHome() |
Properties |
getEnvironment()
Deprecated.
|
boolean |
getRollbackOnly() |
TimerService |
getTimerService() |
UserTransaction |
getUserTransaction() |
boolean |
isCallerInRole(Identity role)
Deprecated.
|
boolean |
isCallerInRole(String roleName) |
Object |
lookup(String name) |
void |
setRollbackOnly() |
EJBHome getEJBHome()
EJBLocalHome getEJBLocalHome()
Properties getEnvironment()
Identity getCallerIdentity()
Principal getCallerPrincipal()
boolean isCallerInRole(Identity role)
boolean isCallerInRole(String roleName)
UserTransaction getUserTransaction() throws IllegalStateException
IllegalStateExceptionvoid setRollbackOnly()
throws IllegalStateException
IllegalStateExceptionboolean getRollbackOnly()
throws IllegalStateException
IllegalStateExceptionTimerService getTimerService() throws IllegalStateException
IllegalStateExceptionCopyright © 2021. All rights reserved.