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

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

public class RoleMapping
extends RoleMappingInfo
implements DomObject

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

See Also:
RoleMappingInfo, #RoleMapping.initializeFromDOM, Serialized Form

Field Summary
static java.lang.String LOGICAL_ROLE_NAME
          Represents the logical-role-name element in the XML config file.
static java.lang.String PHYSICAL_ROLE_NAME
          Represents the physical-role-name element in the XML config file.
 
Fields inherited from class org.openejb.alt.assembler.classic.RoleMappingInfo
logicalRoleNames, physicalRoleNames
 
Constructor Summary
RoleMapping()
           
 
Method Summary
 void initializeFromDOM(org.w3c.dom.Node node)
          Parses out the values needed by this DomObject 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

LOGICAL_ROLE_NAME

public static final java.lang.String LOGICAL_ROLE_NAME
Represents the logical-role-name element in the XML config file.

PHYSICAL_ROLE_NAME

public static final java.lang.String PHYSICAL_ROLE_NAME
Represents the physical-role-name element in the XML config file.
Constructor Detail

RoleMapping

public RoleMapping()
Method Detail

initializeFromDOM

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

serializeToDOM

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