Package com.sun.ejb
Interface ContainerFactory
-
- All Known Implementing Classes:
SingletonContainerFactory,StatefulContainerFactory,StatelessContainerFactory
@Contract public interface ContainerFactoryContainerFactory creates the appropriate Container instance (StatefulSessionContainer, StatelessSessionContainer, EntityContainer, MessageBeanContainer) and initializes it. It is also a factory for EJBObject/Home instances which are needed by the Protocol Manager when a remote invocation arrives.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ContainercreateContainer(EjbDescriptor ejbDescriptor, ClassLoader loader, org.glassfish.api.deployment.DeploymentContext deployContext)Create the appropriate Container instance and initialize it.
-
-
-
Method Detail
-
createContainer
Container createContainer(EjbDescriptor ejbDescriptor, ClassLoader loader, org.glassfish.api.deployment.DeploymentContext deployContext) throws Exception
Create the appropriate Container instance and initialize it.- Parameters:
ejbDescriptor- the deployment descriptor of the EJB for which a container is to be created.- Throws:
Exception
-
-