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

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

public class EjbReferenceLocation
extends EjbReferenceLocationInfo
implements DomObject

A subclass of EjbReferenceLocationInfo 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:
EjbReferenceLocationInfo, Serialized Form

Field Summary
static java.lang.String EJB_DEPLOYMENT_ID
          Represents the ejb-deployment-id element in the XML config file.
static java.lang.String JNDI_CONTEXT_ID
          Represents the jndi-context-id element in the XML config file.
static java.lang.String REMOTE_REF_NAME
          Represents the remote-ref-name element in the XML config file.
 
Fields inherited from class org.openejb.alt.assembler.classic.EjbReferenceLocationInfo
ejbDeploymentId, jndiContextId, remote, remoteRefName
 
Constructor Summary
EjbReferenceLocation()
           
 
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

EJB_DEPLOYMENT_ID

public static final java.lang.String EJB_DEPLOYMENT_ID
Represents the ejb-deployment-id element in the XML config file.

See Also:
Constant Field Values

REMOTE_REF_NAME

public static final java.lang.String REMOTE_REF_NAME
Represents the remote-ref-name element in the XML config file.

See Also:
Constant Field Values

JNDI_CONTEXT_ID

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

See Also:
Constant Field Values
Constructor Detail

EjbReferenceLocation

public EjbReferenceLocation()
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
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.