|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ContainerSystem
The ContainerSystem interface represents a complete OpenEJB container system including ContainerManagers, Containers, deployed enterprise beans and the primary services (transaction, security, and persistence).
The ContainerSystem serves as the root in the container system hierarchy. The ContainerSystem contains one or more ContainerManagers. ContainerManagers contain one or more Containers. Containers contain one or more deployed beans of particular kind (stateless, stateful, or entity).
The access to other parts of the container system hierarchy is not ridged, the ContainerSystem interface provides methods for accessing its ContainerManagers by ID or as a collection. The interface also provides methods for obtaining references to specific Containers and DeploymentInfo objects by ID. IDs for all elements of the container system are unique across the container system.
The default implementation of this interface is provided by the org.openejb.core.ContainerSystem class.
ContainerSystem
Method Summary | |
---|---|
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. |
Method Detail |
---|
DeploymentInfo getDeploymentInfo(java.lang.Object id)
DeploymentInfo
object for the bean with the specified deployment id.
id
- the deployment id of the deployed bean.
DeploymentInfo
,
Container.getDeploymentInfo
,
DeploymentInfo.getDeploymentID()
DeploymentInfo[] deployments()
DeploymentInfo
objects for all the beans deployed in all the containers in this container system.
DeploymentInfo
,
Container.deployments()
Container getContainer(java.lang.Object id)
Container
in this container system with the specified id.
id
- the id of the Container
Container
,
Container.getContainerID()
Container[] containers()
Container
s in this container system.
Container
javax.naming.Context getJNDIContext()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |