org.apache.openejb.jee
Class ContainerTransaction
java.lang.Object
org.apache.openejb.jee.ContainerTransaction
- All Implemented Interfaces:
- AttributeBinding<TransAttribute>
public class ContainerTransaction
- extends Object
- implements AttributeBinding<TransAttribute>
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
method
protected List<Method> method
transAttribute
protected TransAttribute transAttribute
id
protected String id
description
protected TextMap description
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)
getDescriptions
public Text[] getDescriptions()
setDescriptions
public void setDescriptions(Text[] text)
getDescription
public String getDescription()
getMethod
public List<Method> getMethod()
- Specified by:
getMethod
in interface AttributeBinding<TransAttribute>
getAttribute
public TransAttribute getAttribute()
- Specified by:
getAttribute
in interface AttributeBinding<TransAttribute>
getTransAttribute
public TransAttribute getTransAttribute()
setTransAttribute
public void setTransAttribute(TransAttribute value)
getId
public String getId()
setId
public void setId(String value)
Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.