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

java.lang.Object
  |
  +--org.openejb.alt.assembler.classic.InfoObject
        |
        +--org.openejb.alt.assembler.classic.MethodInfo
              |
              +--org.openejb.alt.assembler.classic.xml.Method
All Implemented Interfaces:
DomObject, java.io.Serializable

public class Method
extends MethodInfo
implements DomObject

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

See Also:
MethodInfo, #Method.initializeFromDOM, Serialized Form

Field Summary
static java.lang.String DESCRIPTION
          Represents the description element in the XML config file.
static java.lang.String EJB_DEPLOYMENT_ID
          Represents the ejb-deployment-id element in the XML config file.
static java.lang.String METHOD_INTF
          Represents the method-intf element in the XML config file.
static java.lang.String METHOD_NAME
          Represents the method-name element in the XML config file.
static java.lang.String METHOD_PARAM
          Represents the method-param element in the XML config file.
static java.lang.String METHOD_PARAMS
          Represents the method-params element in the XML config file.
 
Fields inherited from class org.openejb.alt.assembler.classic.MethodInfo
description, ejbDeploymentId, methodIntf, methodName, methodParams
 
Constructor Summary
Method()
           
 
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

DESCRIPTION

public static final java.lang.String DESCRIPTION
Represents the description element in the XML config file.

EJB_DEPLOYMENT_ID

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

METHOD_INTF

public static final java.lang.String METHOD_INTF
Represents the method-intf element in the XML config file.

METHOD_NAME

public static final java.lang.String METHOD_NAME
Represents the method-name element in the XML config file.

METHOD_PARAMS

public static final java.lang.String METHOD_PARAMS
Represents the method-params element in the XML config file.

METHOD_PARAM

public static final java.lang.String METHOD_PARAM
Represents the method-param element in the XML config file.
Constructor Detail

Method

public Method()
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
See Also:
Node

serializeToDOM

public void serializeToDOM(org.w3c.dom.Node node)
                    throws OpenEJBException
Specified by:
serializeToDOM in interface DomObject