public class CoreContainerSystem extends Object implements ContainerSystem
| Constructor and Description |
|---|
CoreContainerSystem(JndiFactory jndiFactory)
Constructs a CoreContainerSystem and initializes the root JNDI context.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addAppContext(AppContext appContext) |
void |
addContainer(Object id,
Container c) |
void |
addDeployment(BeanContext deployment) |
void |
addWebContext(WebContext webDeployment) |
Container[] |
containers() |
BeanContext[] |
deployments() |
AppContext |
getAppContext(Object id) |
Object[] |
getAppContextKeys() |
List<AppContext> |
getAppContexts() |
BeanContext |
getBeanContext(Object deploymentID)
Returns the DeploymentInfo for an EJB with the given deploymentID.
|
Container |
getContainer(Object id) |
Context |
getJNDIContext() |
WebContext |
getWebContext(String id) |
AppContext |
removeAppContext(Object id) |
void |
removeBeanContext(BeanContext info) |
void |
removeContainer(Object id) |
void |
removeWebContext(WebContext info) |
WebContext[] |
WebDeployments() |
public CoreContainerSystem(JndiFactory jndiFactory)
jndiFactory - JndiFactoryRuntimeException - if there is a problem during initialization of the root contextpublic BeanContext getBeanContext(Object deploymentID)
getBeanContext in interface ContainerSystemdeploymentID - The deployment ID of an EJBpublic BeanContext[] deployments()
deployments in interface ContainerSystempublic void addDeployment(BeanContext deployment)
public void removeBeanContext(BeanContext info)
public Container getContainer(Object id)
getContainer in interface ContainerSystempublic Container[] containers()
containers in interface ContainerSystempublic void removeContainer(Object id)
public WebContext getWebContext(String id)
getWebContext in interface ContainerSystempublic WebContext[] WebDeployments()
public void addWebContext(WebContext webDeployment)
public void removeWebContext(WebContext info)
public Context getJNDIContext()
getJNDIContext in interface ContainerSystempublic List<AppContext> getAppContexts()
getAppContexts in interface ContainerSystempublic AppContext getAppContext(Object id)
getAppContext in interface ContainerSystempublic void addAppContext(AppContext appContext)
public AppContext removeAppContext(Object id)
public Object[] getAppContextKeys()
Copyright © 1999–2014 The Apache Software Foundation. All rights reserved.