It is NOT the object that is stored in the log. One reason for this is that the Formattable and Xid interface's define two different return values for the getFormatId() interface.
| Modifier and Type | Field and Description |
|---|---|
| private static final char | COLON
Private Fields of the class |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | copy_init_xid(int format_id, byte[] global_id, byte[] branch_id)
initialize by making array copies of appropriate fields. |
| public boolean | equals(Object
the reference object with which to compare. other)Overrides org. Indicates whether some other object is "equal to" this one. |
| public byte[] | Returns: A byte array containing the branch qualifier of the transaction.Implements javax. Obtain the transaction branch qualifier part of the Xid in a byte array. |
| public int | Returns: Format identifier. O means the OSI CCR format.Implements javax. Obtain the format id part of the Xid. |
| public byte[] | Returns: A byte array containing the global transaction identifier.Implements javax. Obtain the global transaction identifier part of XID as an array of bytes. |
| public String |
| COLON | back to summary |
|---|---|
| private static final char COLON Private Fields of the class | |
| XAXactId | back to summary |
|---|---|
| public XAXactId(int format_id, byte[] global_id, byte[] branch_id) Construct from given pieces of an Xid. Makes copies of arrays.
| |
| XAXactId | back to summary |
|---|---|
| public XAXactId(Xid xid) throws XAException Construct an Xid using an external Xid.
| |
| XAXactId | back to summary |
|---|---|
| public XAXactId(String xactIdString) | |
| copy_init_xid | back to summary |
|---|---|
| private void copy_init_xid(int format_id, byte[] global_id, byte[] branch_id) initialize by making array copies of appropriate fields.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object other) Overrides org. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| getBranchQualifier | back to summary |
|---|---|
| public byte[] getBranchQualifier() Implements javax. Obtain the transaction branch qualifier part of the Xid in a byte array.
| |
| getFormatId | back to summary |
|---|---|
| public int getFormatId() Implements javax. Obtain the format id part of the Xid.
| |
| getGlobalTransactionId | back to summary |
|---|---|
| public byte[] getGlobalTransactionId() Implements javax. Obtain the global transaction identifier part of XID as an array of bytes.
| |
| toHexString | back to summary |
|---|---|
| public String toHexString() | |