org.apache.openejb.jee
Class ContainerTransaction

java.lang.Object
  extended by org.apache.openejb.jee.ContainerTransaction

public class ContainerTransaction
extends Object

The container-transactionType specifies how the container must manage transaction scopes for the enterprise bean's method invocations. It defines an optional description, a list of method elements, and a transaction attribute. The transaction attribute is to be applied to all the specified methods.


Field Summary
protected  TextMap description
           
protected  String id
           
protected  List<Method> method
           
protected  TransAttribute transAttribute
           
 
Constructor Summary
ContainerTransaction()
           
ContainerTransaction(TransAttribute transAttribute, Method method)
           
ContainerTransaction(TransAttribute transAttribute, String ejbName, Method method)
           
ContainerTransaction(TransAttribute transAttribute, String className, String ejbName, String methodName)
           
 
Method Summary
 String getDescription()
           
 Text[] getDescriptions()
           
 String getId()
           
 List<Method> getMethod()
           
 TransAttribute getTransAttribute()
           
 void setDescriptions(Text[] text)
           
 void setId(String value)
           
 void setTransAttribute(TransAttribute value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

method

protected List<Method> method

transAttribute

protected TransAttribute transAttribute

id

protected String id

description

protected TextMap description
Constructor Detail

ContainerTransaction

public ContainerTransaction()

ContainerTransaction

public ContainerTransaction(TransAttribute transAttribute,
                            String className,
                            String ejbName,
                            String methodName)

ContainerTransaction

public ContainerTransaction(TransAttribute transAttribute,
                            String ejbName,
                            Method method)

ContainerTransaction

public ContainerTransaction(TransAttribute transAttribute,
                            Method method)
Method Detail

getDescriptions

public Text[] getDescriptions()

setDescriptions

public void setDescriptions(Text[] text)

getDescription

public String getDescription()

getMethod

public List<Method> getMethod()

getTransAttribute

public TransAttribute getTransAttribute()

setTransAttribute

public void setTransAttribute(TransAttribute value)

getId

public String getId()

setId

public void setId(String value)


Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.