Method Summary |
|
public BeanType | getBean() Gets the bean of this context. |
public Identity | getCallerIdentity() Use Principal getCallerPrincipal() instead. |
public Principal | getCallerPrincipal() Obtain the java.security.Principal that identifies the caller.
The Principal object that identifies the caller. |
public EJBHome | getEJBHome() Obtain the enterprise bean's remote home interface. |
public EJBLocalHome | getEJBLocalHome() Obtain the enterprise bean's local home interface. |
public Properties | getEnvironment() Use the JNDI naming context java:comp/env to access enterprise bean's
environment. |
public boolean | getRollbackOnly() Test if the transaction has been marked for rollback only. |
public TimerService | getTimerService() Get access to the EJB Timer Service. |
public UserTransaction | getUserTransaction() Obtain the transaction demarcation interface. |
public boolean | isCallerInRole(Identity role) Use boolean isCallerInRole(String roleName) instead. |
public boolean | isCallerInRole(String roleName) Test if the caller has a given security role.
Parameters: roleName - The name of the security role. |
public Object | lookup(String name) Lookup object with given name. |
public void | setRollbackOnly() Mark the current transaction for rollback. |
public String | toString() |