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

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

public class MethodTransaction
extends MethodTransactionInfo
implements DomObject

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

Author:
David Blevins, Richard Monson-Haefel
See Also:
MethodTransactionInfo, Serialized Form

Field Summary
static java.lang.String DESCRIPTION
          Represents the description element in the XML config file.
static java.lang.String METHOD
          Represents the method element in the XML config file.
static java.lang.String TRANS_ATTRIBUTE
          Represents the trans-attribute element in the XML config file.
 
Fields inherited from class org.openejb.alt.assembler.classic.MethodTransactionInfo
description, methods, transAttribute
 
Constructor Summary
MethodTransaction()
           
 
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.

See Also:
Constant Field Values

METHOD

public static final java.lang.String METHOD
Represents the method element in the XML config file.

See Also:
Constant Field Values

TRANS_ATTRIBUTE

public static final java.lang.String TRANS_ATTRIBUTE
Represents the trans-attribute element in the XML config file.

See Also:
Constant Field Values
Constructor Detail

MethodTransaction

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

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.