Class TransactionSupport


  • public final class TransactionSupport
    extends Object
    Represents the transactional support of a resource, such as a XA_TRANSACTION.
    • 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.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object