org.openejb.alt.assembler.classic.xml
Class Resource
java.lang.Object
org.openejb.alt.assembler.classic.InfoObject
org.openejb.alt.assembler.classic.ResourceInfo
org.openejb.alt.assembler.classic.xml.Resource
- All Implemented Interfaces:
- Serializable, DomObject
public class Resource
- extends ResourceInfo
- implements DomObject
A subclass of ResourceInfo filled with data from an XML file.
Populates the member variables of ResourceInfo in this classes initializeFromDOM method.
- Author:
- David Blevins, Richard Monson-Haefel
- See Also:
ResourceInfo
,
Serialized Form
Field Summary |
static String |
RES_ID
Represents the res-id/tt> element in the XML config file. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RES_ID
public static final String RES_ID
- Represents the res-id/tt> element in the XML config file.
- See Also:
- Constant Field Values
Resource
public Resource()
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-2012 OpenEJB. All Rights Reserved.