org.openejb.alt.config.ejb11
Class ContainerTransaction
java.lang.Object
|
+--org.openejb.alt.config.ejb11.ContainerTransaction
- All Implemented Interfaces:
- java.io.Serializable
- public class ContainerTransaction
- extends java.lang.Object
- implements java.io.Serializable
- Version:
- $Revision: 1.2 $ $Date: 2002/02/25 20:30:51 $
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContainerTransaction
public ContainerTransaction()
addMethod
public void addMethod(Method vMethod)
throws java.lang.IndexOutOfBoundsException
- Parameters:
vMethod
-
enumerateMethod
public java.util.Enumeration enumerateMethod()
getDescription
public java.lang.String getDescription()
getId
public java.lang.String getId()
getMethod
public Method getMethod(int index)
throws java.lang.IndexOutOfBoundsException
- Parameters:
index
-
getMethod
public Method[] getMethod()
getMethodCount
public int getMethodCount()
getTransAttribute
public java.lang.String getTransAttribute()
isValid
public boolean isValid()
marshal
public void marshal(java.io.Writer out)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
- Parameters:
out
-
marshal
public void marshal(org.xml.sax.DocumentHandler handler)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
- Parameters:
handler
-
removeAllMethod
public void removeAllMethod()
removeMethod
public Method removeMethod(int index)
- Parameters:
index
-
setDescription
public void setDescription(java.lang.String _description)
- Parameters:
_description
-
setId
public void setId(java.lang.String _id)
- Parameters:
_id
-
setMethod
public void setMethod(int index,
Method vMethod)
throws java.lang.IndexOutOfBoundsException
- Parameters:
index
- vMethod
-
setMethod
public void setMethod(Method[] methodArray)
- Parameters:
methodArray
-
setTransAttribute
public void setTransAttribute(java.lang.String _transAttribute)
- Parameters:
_transAttribute
-
unmarshal
public static ContainerTransaction unmarshal(java.io.Reader reader)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
- Parameters:
reader
-
validate
public void validate()
throws org.exolab.castor.xml.ValidationException