org.openejb.alt.assembler.classic.xml
Class Service
java.lang.Object
|
+--org.openejb.alt.assembler.classic.InfoObject
|
+--org.openejb.alt.assembler.classic.ServiceInfo
|
+--org.openejb.alt.assembler.classic.xml.Service
- All Implemented Interfaces:
- java.io.Serializable, ServiceTypeConstants
- public class Service
- extends ServiceInfo
A subclass of ServiceInfo filled with data from an XML file.
Populates the member variables of ServiceInfo in this classes initializeFromDOM method.
- See Also:
ServiceInfo
,
#Service.initializeFromDOM
, Serialized Form
Field Summary |
static java.lang.String |
CODEBASE
Represents the codebase element in the XML config file. |
static java.lang.String |
DESCRIPTION
Represents the description element in the XML config file. |
static java.lang.String |
DISPLAY_NAME
Represents the display-name element in the XML config file. |
static java.lang.String |
FACTORY_CLASS
Represents the factory-class element in the XML config file. |
static java.lang.String |
SERVICE_NAME
Represents the service-name element in the XML config file. |
Method Summary |
static void |
initializeFromDOM(org.w3c.dom.Node node,
ServiceInfo serviceInfo)
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 |
DESCRIPTION
public static final java.lang.String DESCRIPTION
- Represents the description element in the XML config file.
DISPLAY_NAME
public static final java.lang.String DISPLAY_NAME
- Represents the display-name element in the XML config file.
SERVICE_NAME
public static final java.lang.String SERVICE_NAME
- Represents the service-name element in the XML config file.
FACTORY_CLASS
public static final java.lang.String FACTORY_CLASS
- Represents the factory-class element in the XML config file.
CODEBASE
public static final java.lang.String CODEBASE
- Represents the codebase element in the XML config file.
Service
public Service()
initializeFromDOM
public static void initializeFromDOM(org.w3c.dom.Node node,
ServiceInfo serviceInfo)
throws OpenEJBException
- Parses out the values needed by this DomObject from the DOM Node passed in.
- See Also:
Node
serializeToDOM
public void serializeToDOM(org.w3c.dom.Node node)
throws OpenEJBException