Package com.sun.ejb.containers
Class StatefulContainerFactory
java.lang.Object
com.sun.ejb.containers.BaseContainerFactory
com.sun.ejb.containers.StatefulContainerFactory
- All Implemented Interfaces:
ContainerFactory,org.glassfish.hk2.api.PostConstruct
@Service(name="StatefulContainerFactory")
@PerLookup
public class StatefulContainerFactory
extends BaseContainerFactory
implements org.glassfish.hk2.api.PostConstruct, ContainerFactory
A builder for StatefulSessionContainer. Takes care of building / initializing the StatefulSessionContainer with the
following classes:
a) Cache (LRU / NRU / FIFO / UnBounded)
b) SFSBStoreManager (Using PersistenceStrategyBuilder)
c) Cache passivation task (if idle-timeout is greater than 0)
d) Passivated sessions removal task (if removal-timeout is greater than 0)
e) CheckpointPolicy (if ha enabled)
f) SFSBUUIDUtil
g) BeanLifecycleManager
- Author:
- Mahesh Kannan
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbuildComponents(byte[] ipAddress, int port, org.glassfish.api.deployment.DeploymentContext dc) createContainer(EjbDescriptor ejbDescriptor, ClassLoader loader, org.glassfish.api.deployment.DeploymentContext deployContext) Create the appropriate Container instance and initialize it.voidMethods inherited from class com.sun.ejb.containers.BaseContainerFactory
getSecurityManager
-
Field Details
-
_logger
-
-
Constructor Details
-
StatefulContainerFactory
public StatefulContainerFactory()
-
-
Method Details
-
postConstruct
public void postConstruct()- Specified by:
postConstructin interfaceorg.glassfish.hk2.api.PostConstruct
-
buildComponents
public void buildComponents(byte[] ipAddress, int port, org.glassfish.api.deployment.DeploymentContext dc) throws Exception - Throws:
Exception
-
createContainer
public Container createContainer(EjbDescriptor ejbDescriptor, ClassLoader loader, org.glassfish.api.deployment.DeploymentContext deployContext) throws Exception Description copied from interface:ContainerFactoryCreate the appropriate Container instance and initialize it.- Specified by:
createContainerin interfaceContainerFactory- Parameters:
ejbDescriptor- the deployment descriptor of the EJB for which a container is to be created.- Throws:
Exception
-