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

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

public class JndiEnc
extends JndiEncInfo
implements DomObject

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

See Also:
JndiEncInfo, #JndiEnc.initializeFromDOM, Serialized Form

Field Summary
static java.lang.String EJB_REF
          Represents the ejb-ref element in the XML config file.
static java.lang.String ENV_ENTRY
          Represents the env-entry element in the XML config file.
static java.lang.String RESOURCE_REF
          Represents the resource-ref element, which describes resources such as JDBC connection and JMS factories.
 
Fields inherited from class org.openejb.alt.assembler.classic.JndiEncInfo
ejbReferences, envEntries, resourceRefs
 
Constructor Summary
JndiEnc()
           
 
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

ENV_ENTRY

public static final java.lang.String ENV_ENTRY
Represents the env-entry element in the XML config file.

EJB_REF

public static final java.lang.String EJB_REF
Represents the ejb-ref element in the XML config file.

RESOURCE_REF

public static final java.lang.String RESOURCE_REF
Represents the resource-ref element, which describes resources such as JDBC connection and JMS factories.
Constructor Detail

JndiEnc

public JndiEnc()
Method Detail

initializeFromDOM

public void initializeFromDOM(org.w3c.dom.Node node)
                       throws OpenEJBException
Description copied from interface: DomObject
Parses out the values needed by this DomObject 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