com.sun.ejb
Interface ContainerFactory
- All Known Implementing Classes:
- ContainerFactoryImpl
@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.
createContainer
Container createContainer(EjbDescriptor ejbDescriptor,
ClassLoader loader,
EJBSecurityManager sm,
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
Copyright © 2012 GlassFish Community. All Rights Reserved.