org.openejb.alt.assembler.classic
Class ContainerInfo
java.lang.Object
|
+--org.openejb.alt.assembler.classic.InfoObject
|
+--org.openejb.alt.assembler.classic.ContainerInfo
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- Container, EntityContainerInfo, StatefulSessionContainerInfo, StatelessSessionContainerInfo
- public abstract class ContainerInfo
- extends InfoObject
ContainerInfo is part of the OpenEjbConfiguration object structure that provides
the information about the configuration of OpenEJB and the container system.
The OpenEjbConfiguration itself is created by a OpenEjbConfigurationFactory and
is used by the org.openejb.alt.assembler.classic.Assembler to build a running unstance of
OpenEJB.
The default OpenEjbConfigurationFactory is DomOpenEjbConfigurationFactory, which
creates an OpenEjbConfiguration object based on XML config files located on the
local system.
Other OpenEjbConfigurationFactory implementations can be created that might populate
this object using a different approach. Other usefull implementations might be:
- Populating the OpenEjbConfiguration from values in a RDBMS.
- Populating the OpenEjbConfiguration from values in a Properties file.
- Retrieving the OpenEjbConfiguration from a ODBMS.
- Creating the OpenEjbConfiguration using a JavaBeans enabled editing tool or wizard.
If you are interested in creating alternate an OpenEjbConfigurationFactory to do
any of the above techniques or a new approach, email the
OpenEJB Developer list with a description
of the new OpenEjbConfigurationFactory implementation.
- Author:
- David Blevins, Richard Monson-Haefel
- See Also:
Assembler
,
Assembler
,
OpenEjbConfiguration
,
OpenEjbConfigurationFactory
,
org.openejb.xmlconf.DomOpenEjbConfigurationFactory
, Serialized Form
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ENTITY_CONTAINER
public static final int ENTITY_CONTAINER
- The container type constant for a bean managed entity bean container, as
well as CMP entity container.
- See Also:
org.openejb.xmlconf.EntityContainer
STATEFUL_SESSION_CONTAINER
public static final int STATEFUL_SESSION_CONTAINER
- The container type constant for a stateful session bean container.
- See Also:
org.openejb.xmlconf.StatefulSessionContainer
STATELESS_SESSION_CONTAINER
public static final int STATELESS_SESSION_CONTAINER
- The container type constant for a stateless session bean container.
- See Also:
org.openejb.xmlconf.StateflessSessionContainer
description
public java.lang.String description
displayName
public java.lang.String displayName
containerName
public java.lang.String containerName
codebase
public java.lang.String codebase
className
public java.lang.String className
ejbeans
public EnterpriseBeanInfo[] ejbeans
properties
public java.util.Properties properties
containerType
public int containerType
- The container type as specified by subclasses of ContainerInfo.
Must be one of ENTITY_CONTAINER,
STATEFUL_SESSION_CONTAINER, or STATELESS_SESSION_CONTAINER.
ContainerInfo
public ContainerInfo()