All Implemented Interfaces:
EJBContext
$ - Revision: 61191 $| Method from javax.ejb.SessionContext Summary: |
|---|
| getBusinessObject, getEJBLocalObject, getEJBObject, getInvokedBusinessInterface, getMessageContext |
| Method from javax.ejb.SessionContext Detail: |
|---|
|
Obtain a reference to the EJB local object that is currently associated with the instance. An instance of an entity enterprise Bean can call this method only when the instance is associated with an EJB local object identity, i.e. in the ejbActivate, ejbPassivate, ejbPostCreate, ejbRemove, ejbLoad, ejbStore, and business methods. An instance can use this method, for example, when it wants to pass a reference to itself in a method argument or result. |
Obtain a reference to the EJB object that is currently associated with the instance. An instance of a session enterprise Bean can call this method at anytime between the ejbCreate() and ejbRemove() methods, including from within the ejbCreate() and ejbRemove() methods. An instance can use this method, for example, when it wants to pass a reference to itself in a method argument or result. |
|
|