org.openejb.alt.assembler.classic
Class ContainerInfo

java.lang.Object
  extended by org.openejb.alt.assembler.classic.InfoObject
      extended by 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:

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, Serialized Form

Field Summary
 java.lang.String className
           
 java.lang.String codebase
           
 java.lang.String containerName
           
 int containerType
          The container type as specified by subclasses of ContainerInfo.
 java.lang.String description
           
 java.lang.String displayName
           
 EnterpriseBeanInfo[] ejbeans
           
static int ENTITY_CONTAINER
          The container type constant for a bean managed entity bean container, as well as CMP entity container.
 java.util.Properties properties
           
static int STATEFUL_SESSION_CONTAINER
          The container type constant for a stateful session bean container.
static int STATELESS_SESSION_CONTAINER
          The container type constant for a stateless session bean container.
 
Constructor Summary
ContainerInfo()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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:
Constant Field Values

STATEFUL_SESSION_CONTAINER

public static final int STATEFUL_SESSION_CONTAINER
The container type constant for a stateful session bean container.

See Also:
Constant Field Values

STATELESS_SESSION_CONTAINER

public static final int STATELESS_SESSION_CONTAINER
The container type constant for a stateless session bean container.

See Also:
Constant Field Values

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.

Constructor Detail

ContainerInfo

public ContainerInfo()


Copyright © 1999-2011 OpenEJB. All Rights Reserved.