ejbActivate() A container invokes this method when the instance is taken out of
the pool of available instances to become associated with a specific
EJB object.
A container invokes this method before it ends the life of the session object.
This happens as a result of a client's invoking a remove operation, or when a
container decides to terminate the session object after a timeout.
This method is called with no transaction context.
throws: EJBException - Thrown by the method to indicate a failure caused bya system-level error.
public void setSessionContext(SessionContext ctx)(Code)
Set the associated session context. The container calls this method
after the instance creation.
The enterprise Bean instance should store the reference to the context
object in an instance variable.
This method is called with no transaction context.
Parameters: ctx - A SessionContext interface for the instance. throws: EJBException - Thrown by the method to indicate a failure caused bya system-level error.