org.apache.openejb.core
Class CoreContainerSystem
java.lang.Object
org.apache.openejb.core.CoreContainerSystem
- All Implemented Interfaces:
- ContainerSystem
public class CoreContainerSystem
- extends Object
- implements ContainerSystem
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CoreContainerSystem
public CoreContainerSystem(JndiFactory jndiFactory)
- Constructs a CoreContainerSystem and initializes the root JNDI context.
It also creates three sub contexts, namely
- java:openejb/local
- java:openejb/client
- java:openejb/Deployment
- Parameters:
jndiFactory
-
- Throws:
RuntimeException
- if there is a problem during initialization of the root context
getDeploymentInfo
public DeploymentInfo getDeploymentInfo(Object deploymentID)
- Returns the DeploymentInfo for an EJB with the given deploymentID.
- Specified by:
getDeploymentInfo
in interface ContainerSystem
- Parameters:
deploymentID
- The deployment ID of an EJB
deployments
public DeploymentInfo[] deployments()
- Specified by:
deployments
in interface ContainerSystem
addDeployment
public void addDeployment(DeploymentInfo deployment)
removeDeploymentInfo
public void removeDeploymentInfo(DeploymentInfo info)
getContainer
public Container getContainer(Object id)
- Specified by:
getContainer
in interface ContainerSystem
containers
public Container[] containers()
- Specified by:
containers
in interface ContainerSystem
addContainer
public void addContainer(Object id,
Container c)
removeContainer
public void removeContainer(Object id)
getWebDeploymentInfo
public WebDeploymentInfo getWebDeploymentInfo(String id)
- Specified by:
getWebDeploymentInfo
in interface ContainerSystem
WebDeployments
public WebDeploymentInfo[] WebDeployments()
addWebDeployment
public void addWebDeployment(WebDeploymentInfo webDeployment)
removeWebDeploymentInfo
public void removeWebDeploymentInfo(WebDeploymentInfo info)
getJNDIContext
public Context getJNDIContext()
- Specified by:
getJNDIContext
in interface ContainerSystem
Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.