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 TransactionSupportLOCAL_TRANSACTIONIndicates support of container-managed transactions.static TransactionSupportNO_TRANSACTIONIndicates lack of transaction support.static TransactionSupportXA_TRANSACTIONIndicates support of distributed transactions using XA protocol.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)inthashCode()StringtoString()static TransactionSupportvalueOf(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.
-
-