Method Summary |
|
Identity | getCallerIdentity() Obtain the java.security.Identity of the caller.
This method is deprecated in EJB 1.1. |
Principal | getCallerPrincipal() Obtain the java.security.Principal that identifies the caller.
The Principal object that identifies the caller. |
EJBHome | getEJBHome() Obtain the enterprise bean's remote home interface. |
EJBLocalHome | getEJBLocalHome() Obtain the enterprise bean's local home interface. |
Properties | getEnvironment() Obtain the enterprise bean's environment properties.
Note: If the enterprise bean has no environment properties
this method returns an empty java.util.Properties object. |
boolean | getRollbackOnly() Test if the transaction has been marked for rollback only. |
TimerService | getTimerService() Get access to the EJB Timer Service.
exception: IllegalStateException - The Container throws the exceptionif the instance is not allowed to use this method (e.g. |
UserTransaction | getUserTransaction() Obtain the transaction demarcation interface.
Only enterprise beans with bean-managed transactions are allowed to
to use the UserTransaction interface. |
boolean | isCallerInRole(Identity role) Test if the caller has a given role.
This method is deprecated in EJB 1.1. |
boolean | isCallerInRole(String roleName) Test if the caller has a given security role.
Parameters: roleName - The name of the security role. |
Object | lookup(String name) Lookup a resource within the component's private naming context. |
void | setRollbackOnly() Mark the current transaction for rollback. |