Class TransactionInfo

  • java.lang.Object
    • com.tibco.tibjms.admin.TransactionInfo
  • Direct Known Subclasses:
    DetailedTransactionInfo

    public class TransactionInfo
    extends java.lang.Object
    This class represents an XA transaction.
    • Field Detail

      • TRANSACTION_ACTIVE

        public static final char TRANSACTION_ACTIVE
        State of transaction is active.
        See Also:
        Constant Field Values
      • TRANSACTION_ENDSUCCESS

        public static final char TRANSACTION_ENDSUCCESS
        State of transaction is endsuccess.
        See Also:
        Constant Field Values
      • TRANSACTION_ROLLBACKONLY

        public static final char TRANSACTION_ROLLBACKONLY
        State of transaction is rollbackonly.
        See Also:
        Constant Field Values
      • TRANSACTION_PREPARED

        public static final char TRANSACTION_PREPARED
        State of transaction is prepared.
        See Also:
        Constant Field Values
      • TRANSACTION_SUSPENDED

        public static final char TRANSACTION_SUSPENDED
        State of transaction is suspended.
        See Also:
        Constant Field Values
      • TRANSACTION_UNKNOWN

        public static final char TRANSACTION_UNKNOWN
        State of transaction is unknown.
        See Also:
        Constant Field Values
    • Method Detail

      • getState

        public char getState()
        Returns the state of the transaction.
        Returns:
        the state of the transaction.
      • getFormatId

        public int getFormatId()
        Returns the format id of the transaction.
        Returns:
        the format id of the transaction.
      • getBranchQualifier

        public byte[] getBranchQualifier()
        Returns the branch qualifier of the transaction.
        Returns:
        the branch qualifier of the transaction.
      • getGlobalTransactionId

        public byte[] getGlobalTransactionId()
        Returns the global transaction id of the transaction.
        Returns:
        the global transaction id of the transaction.
      • toString

        public java.lang.String toString()
        Generate a string representation of this TransactionInfo.
        Overrides:
        toString in class java.lang.Object
        Returns:
        a string representation of the transaction.
      • from

        public static TransactionInfo from​(javax.management.openmbean.CompositeData cd)
        For Internal use only, may be removed or deprecated in future.
        Returns:
        a TransactionInfo object from CompositeData
        Throws:
        java.lang.IllegalArgumentException - if CompositeType does not match or if a null CompositeData is passed.