| 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.
The EJB local object currently associated with the instance. exception: java.lang.IllegalStateException - - Thrown if the instance invokes this method while the instanceis in a state that does not allow the instance to invoke this method, or if the instance does not have alocal interface. |