Class TransactionSupport
- java.lang.Object
-
- org.codehaus.cargo.container.property.TransactionSupport
-
public final class TransactionSupport extends Object
Represents the transactional support of a resource, such as aXA_TRANSACTION
.
-
-
Field Summary
Fields Modifier and Type Field Description static TransactionSupport
LOCAL_TRANSACTION
Indicates support of container-managed transactions.static TransactionSupport
NO_TRANSACTION
Indicates lack of transaction support.static TransactionSupport
XA_TRANSACTION
Indicates support of distributed transactions using XA protocol.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
int
hashCode()
String
toString()
static TransactionSupport
valueOf(String transactionSupport)
Convert string representation of transaction support to appropriate value.
-
-
-
Field Detail
-
NO_TRANSACTION
public static final TransactionSupport NO_TRANSACTION
Indicates lack of transaction support.
-
LOCAL_TRANSACTION
public static final TransactionSupport LOCAL_TRANSACTION
Indicates support of container-managed transactions.
-
XA_TRANSACTION
public static final TransactionSupport XA_TRANSACTION
Indicates support of distributed transactions using XA protocol.
-
-
Method Detail
-
valueOf
public static TransactionSupport valueOf(String transactionSupport)
Convert string representation of transaction support to appropriate value.- Parameters:
transactionSupport
- String representation of transaction support.- Returns:
- Appropriate TransactionSupport instance.
-
-