javax.ejb

Interface EJBContext

public interface EJBContext

Method Summary
IdentitygetCallerIdentity()
PrincipalgetCallerPrincipal()
EJBHomegetEJBHome()
EJBLocalHomegetEJBLocalHome()
PropertiesgetEnvironment()
booleangetRollbackOnly()
TimerServicegetTimerService()
UserTransactiongetUserTransaction()
booleanisCallerInRole(Identity role)
booleanisCallerInRole(String roleName)
voidsetRollbackOnly()

Method Detail

getCallerIdentity

public Identity getCallerIdentity()

Deprecated:

getCallerPrincipal

public Principal getCallerPrincipal()

getEJBHome

public EJBHome getEJBHome()

getEJBLocalHome

public EJBLocalHome getEJBLocalHome()

getEnvironment

public Properties getEnvironment()

Deprecated:

getRollbackOnly

public boolean getRollbackOnly()

getTimerService

public TimerService getTimerService()

getUserTransaction

public UserTransaction getUserTransaction()

isCallerInRole

public boolean isCallerInRole(Identity role)

Deprecated:

isCallerInRole

public boolean isCallerInRole(String roleName)

setRollbackOnly

public void setRollbackOnly()