Class StatefulSessionContainer

java.lang.Object
com.sun.ejb.containers.BaseContainer
com.sun.ejb.containers.StatefulSessionContainer
All Implemented Interfaces:
com.sun.appserv.util.cache.CacheListener, Container, SFSBContainerCallback, com.sun.enterprise.container.common.spi.JavaEEContainer, org.glassfish.enterprise.iiop.spi.EjbContainerFacade

public final class StatefulSessionContainer extends BaseContainer implements com.sun.appserv.util.cache.CacheListener, SFSBContainerCallback
This class provides container functionality specific to stateful SessionBeans. At deployment time, one instance of the StatefulSessionContainer is created for each stateful SessionBean type (i.e. deployment descriptor) in a JAR.

The 5 states of a Stateful EJB (an EJB can be in only 1 state at a time): 1. PASSIVE : has been passivated 2. READY : ready for invocations, no transaction in progress 3. INVOKING : processing an invocation 4. INCOMPLETE_TX : ready for invocations, transaction in progress 5. DESTROYED : does not exist

Author:
Mahesh Kannan