|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openejb.assembler.ContainerSystem
Constructor Summary | |
ContainerSystem()
|
Method Summary | |
void |
addContainer(Object id,
Container c)
Adds a Container to the list of those that are managed by this container system. |
void |
addDeployment(CoreDeploymentInfo 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(Object id)
Returns the Container in this container system with the specified id. |
DeploymentInfo |
getDeploymentInfo(Object id)
Gets the DeploymentInfo object for the bean with the specified deployment id. |
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(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
,
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(Object id)
Container
in this container system with the specified id.
getContainer
in interface ContainerSystem
id
- the id of the Container
Container
,
Container.getContainerID()
public Container[] containers()
Container
s in this container system.
containers
in interface ContainerSystem
Container
public void addContainer(Object id, Container c)
id
- the id of the Containerc
- the Container to manageContainer
public void addDeployment(CoreDeploymentInfo deployment)
deployment
- DeploymentInfo
public Context getJNDIContext()
getJNDIContext
in interface ContainerSystem
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |