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

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

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.

Author:
David Blevins, Richard Monson-Haefel
See Also:
ContainerSystemInfo, 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, ejbJars, enterpriseBeans, 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.

See Also:
Constant Field Values

ENTITY_CONTAINER

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

See Also:
Constant Field Values

CMP_ENTITY_CONTAINER

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

See Also:
Constant Field Values

STATEFUL_SESSION_CONTAINER

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

See Also:
Constant Field Values

STATELESS_SESSION_CONTAINER

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

See Also:
Constant Field Values

SECURITY_ROLE

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

See Also:
Constant Field Values

METHOD_PERMISSION

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

See Also:
Constant Field Values

METHOD_TRANSACTION

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

See Also:
Constant Field Values
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
Throws:
OpenEJBException

serializeToDOM

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


Copyright © 1999-2011 OpenEJB. All Rights Reserved.