org.openejb.alt.assembler.classic.xml
Class Container

java.lang.Object
  extended by org.openejb.alt.assembler.classic.InfoObject
      extended by org.openejb.alt.assembler.classic.ContainerInfo
          extended by org.openejb.alt.assembler.classic.xml.Container
All Implemented Interfaces:
java.io.Serializable

public class Container
extends ContainerInfo

A subclass of ContainerInfo filled with data from an XML file. Populates the member variables of ContainerInfo in this classes initializeFromDOM method.

Author:
David Blevins, Richard Monson-Haefel
See Also:
ContainerInfo, Serialized Form

Field Summary
static java.lang.String CLASSNAME
          Represents the codebase element in the XML config file.
static java.lang.String CODEBASE
          Represents the codebase element in the XML config file.
static java.lang.String CONTAINER_NAME
          Represents the container-name element in the XML config file.
static java.lang.String DESCRIPTION
          Represents the description element in the XML config file.
static java.lang.String DISPLAY_NAME
          Represents the display-name element in the XML config file.
 
Fields inherited from class org.openejb.alt.assembler.classic.ContainerInfo
className, codebase, containerName, containerType, description, displayName, ejbeans, ENTITY_CONTAINER, properties, STATEFUL_SESSION_CONTAINER, STATELESS_SESSION_CONTAINER
 
Constructor Summary
Container()
           
 
Method Summary
static void initializeFromDOM(org.w3c.dom.Node node, ContainerInfo container)
          Parses out the values needed by this DomObject from the DOM Node passed in.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DESCRIPTION

public static final java.lang.String DESCRIPTION
Represents the description element in the XML config file.

See Also:
Constant Field Values

DISPLAY_NAME

public static final java.lang.String DISPLAY_NAME
Represents the display-name element in the XML config file.

See Also:
Constant Field Values

CONTAINER_NAME

public static final java.lang.String CONTAINER_NAME
Represents the container-name element in the XML config file.

See Also:
Constant Field Values

CODEBASE

public static final java.lang.String CODEBASE
Represents the codebase element in the XML config file.

See Also:
Constant Field Values

CLASSNAME

public static final java.lang.String CLASSNAME
Represents the codebase element in the XML config file.

See Also:
Constant Field Values
Constructor Detail

Container

public Container()
Method Detail

initializeFromDOM

public static void initializeFromDOM(org.w3c.dom.Node node,
                                     ContainerInfo container)
                              throws OpenEJBException
Parses out the values needed by this DomObject from the DOM Node passed in.

Throws:
OpenEJBException


Copyright © 1999-2011 OpenEJB. All Rights Reserved.