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

java.lang.Object
  extended byorg.openejb.alt.assembler.classic.InfoObject
      extended byorg.openejb.alt.assembler.classic.JndiContextInfo
          extended byorg.openejb.alt.assembler.classic.xml.JndiContext
All Implemented Interfaces:
DomObject, Serializable

public class JndiContext
extends JndiContextInfo
implements DomObject

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

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

Field Summary
static String JNDI_CONTEXT_ID
          Represents the jndi-context-id element in the XML config file.
 
Fields inherited from class org.openejb.alt.assembler.classic.JndiContextInfo
jndiContextId, properties
 
Constructor Summary
JndiContext()
           
 
Method Summary
 void initializeFromDOM(Node node)
          Parses out the values needed by this DomObject from the DOM Node passed in.
 void serializeToDOM(Node node)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JNDI_CONTEXT_ID

public static final String JNDI_CONTEXT_ID
Represents the jndi-context-id element in the XML config file.

See Also:
Constant Field Values
Constructor Detail

JndiContext

public JndiContext()
Method Detail

initializeFromDOM

public void initializeFromDOM(Node node)
                       throws OpenEJBException
Parses out the values needed by this DomObject from the DOM Node passed in.

Specified by:
initializeFromDOM in interface DomObject
Throws:
OpenEJBException

serializeToDOM

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


Copyright © 1999-2007 OpenEJB. All Rights Reserved.