Package org.firebirdsql.jca
Class FBLocalTransaction.FBLocalXid
java.lang.Object
org.firebirdsql.jca.FBLocalTransaction.FBLocalXid
- All Implemented Interfaces:
Xid
- Enclosing class:
- FBLocalTransaction
-
Field Summary
Fields inherited from interface javax.transaction.xa.Xid
MAXBQUALSIZE, MAXGTRIDSIZE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]Return the branch qualifier of this transaction.intReturn the format identifier of this transaction.byte[]Return the global transaction id of this transaction.toString()
-
Constructor Details
-
FBLocalXid
public FBLocalXid()
-
-
Method Details
-
getGlobalTransactionId
public byte[] getGlobalTransactionId()Return the global transaction id of this transaction.- Specified by:
getGlobalTransactionIdin interfaceXid
-
getBranchQualifier
public byte[] getBranchQualifier()Return the branch qualifier of this transaction.- Specified by:
getBranchQualifierin interfaceXid
-
getFormatId
public int getFormatId()Return the format identifier of this transaction.The format identifier augments the global id and specifies how the global id and branch qualifier should be interpreted.
- Specified by:
getFormatIdin interfaceXid
-
toString
-