|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.ejb.EnterpriseContext.EJBContextImpl
protected class 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.EJBContextpublic Identity getCallerIdentity()
getCallerIdentity in interface javax.ejb.EJBContext
public javax.ejb.TimerService getTimerService()
throws IllegalStateException
getTimerService in interface javax.ejb.EJBContextIllegalStateExceptionpublic Principal getCallerPrincipal()
getCallerPrincipal in interface javax.ejb.EJBContextpublic javax.ejb.EJBHome getEJBHome()
getEJBHome in interface javax.ejb.EJBContextpublic javax.ejb.EJBLocalHome getEJBLocalHome()
getEJBLocalHome in interface javax.ejb.EJBContextpublic Properties getEnvironment()
getEnvironment in interface javax.ejb.EJBContextpublic boolean getRollbackOnly()
getRollbackOnly in interface javax.ejb.EJBContextpublic void setRollbackOnly()
setRollbackOnly in interface javax.ejb.EJBContextpublic boolean isCallerInRole(Identity id)
isCallerInRole in interface javax.ejb.EJBContextpublic boolean isCallerInRole(String roleName)
isCallerInRole in interface javax.ejb.EJBContextpublic UserTransaction getUserTransaction()
getUserTransaction in interface javax.ejb.EJBContext
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||