| |
|
| javax.ejb.EJBContext
EJBContext | public interface EJBContext (Code) | | Allows to gets some info on the bean.
See Also: EJB 3.0 specification author: Florent Benoit |
getCallerPrincipal | Principal getCallerPrincipal()(Code) | | the caller principal object. |
getEJBHome | EJBHome getEJBHome()(Code) | | the Home(remote) interface of the bean.throws IllegalStateException if home is not retrieved |
getEJBLocalHome | EJBLocalHome getEJBLocalHome()(Code) | | the local home interface of the bean.throws IllegalStateException if local home is not retrieved |
isCallerInRole | boolean isCallerInRole(Identity role)(Code) | | Parameters: role - deprecated deprecated |
isCallerInRole | boolean isCallerInRole(String roleName)(Code) | | Check if the given role is in the roles of the current caller's
principal.
Parameters: roleName - the role to check. true if it is included, else false. |
lookup | Object lookup(String name)(Code) | | Search the given name in java:comp/env ENC environment.
Parameters: name - the name to search null if not found, else an instance of the object found. since: EJB 3.0 version. |
|
|
|