org.openejb.alt.assembler.classic
Class ContainerInfo

java.lang.Object
  extended byorg.openejb.alt.assembler.classic.InfoObject
      extended byorg.openejb.alt.assembler.classic.ContainerInfo
All Implemented Interfaces:
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
 String className
           
 String codebase
           
 String containerName
           
 int containerType
          The container type as specified by subclasses of ContainerInfo.
 String description
           
 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.
 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()
           
 
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 String description

displayName

public String displayName

containerName

public String containerName

codebase

public String codebase

className

public String className

ejbeans

public EnterpriseBeanInfo[] ejbeans

properties

public 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-2007 OpenEJB. All Rights Reserved.