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

java.lang.Object
  |
  +--org.openejb.alt.assembler.classic.InfoObject
        |
        +--org.openejb.alt.assembler.classic.ContainerSystemInfo
              |
              +--org.openejb.alt.assembler.classic.xml.ContainerSystem
All Implemented Interfaces:
DomObject, java.io.Serializable

public class ContainerSystem
extends ContainerSystemInfo
implements DomObject

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

See Also:
ContainerSystemInfo, #ContainerSystem.initializeFromDOM, Serialized Form

Field Summary
static java.lang.String CMP_ENTITY_CONTAINER
          Represents the cmp-entity-container element in the XML config file.
static java.lang.String CONTAINERS
          Represents the containers element in the XML config file.
static java.lang.String ENTITY_CONTAINER
          Represents the entity-container element in the XML config file.
static java.lang.String METHOD_PERMISSION
          Represents the method-permission element in the XML config file.
static java.lang.String METHOD_TRANSACTION
          Represents the method-transaction element in the XML config file.
static java.lang.String SECURITY_ROLE
          Represents the security-role element in the XML config file.
static java.lang.String STATEFUL_SESSION_CONTAINER
          Represents the stateful-session-container element in the XML config file.
static java.lang.String STATELESS_SESSION_CONTAINER
          Represents the stateless-session-container element in the XML config file.
 
Fields inherited from class org.openejb.alt.assembler.classic.ContainerSystemInfo
containers, entityContainers, methodPermissions, methodTransactions, securityRoles, statefulContainers, statelessContainers
 
Constructor Summary
ContainerSystem()
           
 
Method Summary
 void initializeFromDOM(org.w3c.dom.Node node)
          Parses out the values needed by this InfoObject from the DOM Node passed in.
 void serializeToDOM(org.w3c.dom.Node node)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONTAINERS

public static final java.lang.String CONTAINERS
Represents the containers element in the XML config file.

ENTITY_CONTAINER

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

CMP_ENTITY_CONTAINER

public static final java.lang.String CMP_ENTITY_CONTAINER
Represents the cmp-entity-container element in the XML config file.

STATEFUL_SESSION_CONTAINER

public static final java.lang.String STATEFUL_SESSION_CONTAINER
Represents the stateful-session-container element in the XML config file.

STATELESS_SESSION_CONTAINER

public static final java.lang.String STATELESS_SESSION_CONTAINER
Represents the stateless-session-container element in the XML config file.

SECURITY_ROLE

public static final java.lang.String SECURITY_ROLE
Represents the security-role element in the XML config file.

METHOD_PERMISSION

public static final java.lang.String METHOD_PERMISSION
Represents the method-permission element in the XML config file.

METHOD_TRANSACTION

public static final java.lang.String METHOD_TRANSACTION
Represents the method-transaction element in the XML config file.
Constructor Detail

ContainerSystem

public ContainerSystem()
Method Detail

initializeFromDOM

public void initializeFromDOM(org.w3c.dom.Node node)
                       throws OpenEJBException
Parses out the values needed by this InfoObject from the DOM Node passed in.
Specified by:
initializeFromDOM in interface DomObject

serializeToDOM

public void serializeToDOM(org.w3c.dom.Node node)
                    throws OpenEJBException
Specified by:
serializeToDOM in interface DomObject