|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openejb.core.ContainerSystem
public class ContainerSystem
Constructor Summary | |
---|---|
ContainerSystem()
|
Method Summary | |
---|---|
void |
addContainer(java.lang.Object id,
Container c)
Adds a Container to the list of those that are managed by this container system. |
void |
addDeployment(DeploymentInfo deployment)
Adds a DeploymentInfo object to the list of those that are registered by this container System. |
Container[] |
containers()
Gets all the Container s in this container system. |
DeploymentInfo[] |
deployments()
Gets the DeploymentInfo objects for all the beans deployed in all the containers in this container system. |
Container |
getContainer(java.lang.Object id)
Returns the Container in this container system with the specified id. |
DeploymentInfo |
getDeploymentInfo(java.lang.Object id)
Gets the DeploymentInfo object for the bean with the specified deployment id. |
javax.naming.Context |
getJNDIContext()
Returns the global JNDI name space for the OpenEJB container system. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContainerSystem()
Method Detail |
---|
public DeploymentInfo getDeploymentInfo(java.lang.Object id)
DeploymentInfo
object for the bean with the specified deployment id.
getDeploymentInfo
in interface ContainerSystem
id
- the deployment id of the deployed bean.
DeploymentInfo
,
Container.getDeploymentInfo
,
DeploymentInfo.getDeploymentID()
public DeploymentInfo[] deployments()
DeploymentInfo
objects for all the beans deployed in all the containers in this container system.
deployments
in interface ContainerSystem
DeploymentInfo
,
Container.deployments()
public Container getContainer(java.lang.Object id)
Container
in this container system with the specified id.
getContainer
in interface ContainerSystem
id
- the id of the Container
Container
public Container[] containers()
Container
s in this container system.
containers
in interface ContainerSystem
Container
public void addContainer(java.lang.Object id, Container c)
id
- the id of the Containerc
- Container to manageContainer
public void addDeployment(DeploymentInfo deployment)
deployment
- DeploymentInfo
public javax.naming.Context getJNDIContext()
getJNDIContext
in interface ContainerSystem
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |