org.openejb.config.ejb11
Class ContainerTransaction

java.lang.Object
  extended byorg.openejb.config.ejb11.ContainerTransaction
All Implemented Interfaces:
Serializable

public class ContainerTransaction
extends Object
implements Serializable

Version:
$Revision: 1.1 $ $Date: 2004/03/01 07:14:43 $
See Also:
Serialized Form

Constructor Summary
ContainerTransaction()
           
 
Method Summary
 void addMethod(Method vMethod)
           
 Enumeration enumerateMethod()
           
 String getDescription()
           
 String getId()
           
 Method[] getMethod()
           
 Method getMethod(int index)
           
 int getMethodCount()
           
 String getTransAttribute()
           
 boolean isValid()
           
 void marshal(DocumentHandler handler)
           
 void marshal(Writer out)
           
 void removeAllMethod()
           
 Method removeMethod(int index)
           
 void setDescription(String _description)
           
 void setId(String _id)
           
 void setMethod(int index, Method vMethod)
           
 void setMethod(Method[] methodArray)
           
 void setTransAttribute(String _transAttribute)
           
static ContainerTransaction unmarshal(Reader reader)
           
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContainerTransaction

public ContainerTransaction()
Method Detail

addMethod

public void addMethod(Method vMethod)
               throws IndexOutOfBoundsException
Parameters:
vMethod -
Throws:
IndexOutOfBoundsException

enumerateMethod

public Enumeration enumerateMethod()

getDescription

public String getDescription()

getId

public String getId()

getMethod

public Method getMethod(int index)
                 throws IndexOutOfBoundsException
Parameters:
index -
Throws:
IndexOutOfBoundsException

getMethod

public Method[] getMethod()

getMethodCount

public int getMethodCount()

getTransAttribute

public String getTransAttribute()

isValid

public boolean isValid()

marshal

public void marshal(Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
out -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

marshal

public void marshal(DocumentHandler handler)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
handler -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

removeAllMethod

public void removeAllMethod()

removeMethod

public Method removeMethod(int index)
Parameters:
index -

setDescription

public void setDescription(String _description)
Parameters:
_description -

setId

public void setId(String _id)
Parameters:
_id -

setMethod

public void setMethod(int index,
                      Method vMethod)
               throws IndexOutOfBoundsException
Parameters:
index -
vMethod -
Throws:
IndexOutOfBoundsException

setMethod

public void setMethod(Method[] methodArray)
Parameters:
methodArray -

setTransAttribute

public void setTransAttribute(String _transAttribute)
Parameters:
_transAttribute -

unmarshal

public static ContainerTransaction unmarshal(Reader reader)
                                      throws org.exolab.castor.xml.MarshalException,
                                             org.exolab.castor.xml.ValidationException
Parameters:
reader -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Throws:
org.exolab.castor.xml.ValidationException


Copyright © 1999-2005 OpenEJB. All Rights Reserved.