Package com.tibco.tibjms.admin
Class TransactionInfo
- java.lang.Object
- 
- com.tibco.tibjms.admin.TransactionInfo
 
- 
- Direct Known Subclasses:
- DetailedTransactionInfo
 
 public class TransactionInfo extends java.lang.ObjectThis class represents an XA transaction.
- 
- 
Field SummaryFields Modifier and Type Field Description static charTRANSACTION_ACTIVEState of transaction is active.static charTRANSACTION_ENDSUCCESSState of transaction is endsuccess.static charTRANSACTION_PREPAREDState of transaction is prepared.static charTRANSACTION_ROLLBACKONLYState of transaction is rollbackonly.static charTRANSACTION_SUSPENDEDState of transaction is suspended.static charTRANSACTION_UNKNOWNState of transaction is unknown.
 - 
Constructor SummaryConstructors Constructor Description TransactionInfo(java.lang.Object json)For Internal use only, may be removed or deprecated in future.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TransactionInfofrom(javax.management.openmbean.CompositeData cd)For Internal use only, may be removed or deprecated in future.byte[]getBranchQualifier()Returns the branch qualifier of the transaction.intgetFormatId()Returns the format id of the transaction.byte[]getGlobalTransactionId()Returns the global transaction id of the transaction.chargetState()Returns the state of the transaction.java.lang.StringtoString()Generate a string representation of this TransactionInfo.
 
- 
- 
- 
Field Detail- 
TRANSACTION_ACTIVEpublic static final char TRANSACTION_ACTIVE State of transaction is active.- See Also:
- Constant Field Values
 
 - 
TRANSACTION_ENDSUCCESSpublic static final char TRANSACTION_ENDSUCCESS State of transaction is endsuccess.- See Also:
- Constant Field Values
 
 - 
TRANSACTION_ROLLBACKONLYpublic static final char TRANSACTION_ROLLBACKONLY State of transaction is rollbackonly.- See Also:
- Constant Field Values
 
 - 
TRANSACTION_PREPAREDpublic static final char TRANSACTION_PREPARED State of transaction is prepared.- See Also:
- Constant Field Values
 
 - 
TRANSACTION_SUSPENDEDpublic static final char TRANSACTION_SUSPENDED State of transaction is suspended.- See Also:
- Constant Field Values
 
 - 
TRANSACTION_UNKNOWNpublic static final char TRANSACTION_UNKNOWN State of transaction is unknown.- See Also:
- Constant Field Values
 
 
- 
 - 
Constructor Detail- 
TransactionInfopublic TransactionInfo(java.lang.Object json) throws JMSExceptionFor Internal use only, may be removed or deprecated in future.- Throws:
- JMSException
 
 
- 
 - 
Method Detail- 
getStatepublic char getState() Returns the state of the transaction.- Returns:
- the state of the transaction.
 
 - 
getFormatIdpublic int getFormatId() Returns the format id of the transaction.- Returns:
- the format id of the transaction.
 
 - 
getBranchQualifierpublic byte[] getBranchQualifier() Returns the branch qualifier of the transaction.- Returns:
- the branch qualifier of the transaction.
 
 - 
getGlobalTransactionIdpublic byte[] getGlobalTransactionId() Returns the global transaction id of the transaction.- Returns:
- the global transaction id of the transaction.
 
 - 
toStringpublic java.lang.String toString() Generate a string representation of this TransactionInfo.- Overrides:
- toStringin class- java.lang.Object
- Returns:
- a string representation of the transaction.
 
 - 
frompublic 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.
 
 
- 
 
-