Obtain a reference to the EJB local object that is
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.
The EJB local object currently associated with the instance. exception: IllegalStateException - Thrown if the instance invokes thismethod while the instance is in a state that does not allow theinstance to invoke this method, or if the instance does not havea local interface. |