org.openejb.alt.assembler.classic.xml
Class ResourceReference
java.lang.Object
|
+--org.openejb.alt.assembler.classic.InfoObject
|
+--org.openejb.alt.assembler.classic.ResourceReferenceInfo
|
+--org.openejb.alt.assembler.classic.xml.ResourceReference
- All Implemented Interfaces:
- DomObject, java.io.Serializable
- public class ResourceReference
- extends ResourceReferenceInfo
- implements DomObject
A subclass of ResourceReferenceInfo filled with data from an XML file.
Populates the member variables of ResourceReferenceInfo in this classes initializeFromDOM method.
- See Also:
ResourceReferenceInfo
,
#ResourceReference.initializeFromDOM
, Serialized Form
Field Summary |
static java.lang.String |
RES_ID
Represents the res-ref-auth element in the XML config file. |
static java.lang.String |
RES_REF_AUTH
Represents the res-ref-auth element in the XML config file. |
static java.lang.String |
RES_REF_LOCATION
Represents the ejb-ref-location element in the XML config file. |
static java.lang.String |
RES_REF_NAME
Represents the res-ref-name element in the XML config file. |
static java.lang.String |
RES_REF_TYPE
Represents the res-ref-type element in the XML config file. |
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 |
RES_REF_NAME
public static final java.lang.String RES_REF_NAME
- Represents the res-ref-name element in the XML config file.
RES_REF_TYPE
public static final java.lang.String RES_REF_TYPE
- Represents the res-ref-type element in the XML config file.
RES_REF_AUTH
public static final java.lang.String RES_REF_AUTH
- Represents the res-ref-auth element in the XML config file.
RES_ID
public static final java.lang.String RES_ID
- Represents the res-ref-auth element in the XML config file.
RES_REF_LOCATION
public static final java.lang.String RES_REF_LOCATION
- Represents the ejb-ref-location element in the XML config file.
ResourceReference
public ResourceReference()
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
serializeToDOM
public void serializeToDOM(org.w3c.dom.Node node)
throws OpenEJBException
- Specified by:
serializeToDOM
in interface DomObject