Package com.sun.ejb
Interface ContainerFactory
-
- All Known Implementing Classes:
EntityContainerFactory
,MessageBeanContainerFactory
,SingletonContainerFactory
,StatefulContainerFactory
,StatelessContainerFactory
@Contract public interface ContainerFactory
ContainerFactory 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 Container
createContainer(EjbDescriptor ejbDescriptor, ClassLoader loader, DeploymentContext deployContext)
Create the appropriate Container instance and initialize it.
-
-
-
Method Detail
-
createContainer
Container createContainer(EjbDescriptor ejbDescriptor, ClassLoader loader, 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
-
-