jrunx.tyrex.tm.xid
Class GlobalXid
jrunx.tyrex.tm.xid.BaseXid
|
+--jrunx.tyrex.tm.xid.GlobalXid
- All Implemented Interfaces:
- java.io.Serializable
- public final class GlobalXid
- extends BaseXid
Global transaction identifier. Used for all distributed transactions
created locally. The format identifier is always the same, the branch
qualifier is always empty.
- See Also:
- Serialized Form
|
Field Summary |
protected static int |
GLOBAL_FORMAT_ID
The format identifier used by all local transactions. |
protected static char[] |
XID_PREFIX_ARRAY
The XID_PREFIX and XID_FORMAT as a character array. |
|
Constructor Summary |
GlobalXid()
Construct a new global transaction identifier. |
GlobalXid(byte[] global)
Construct a new global transaction identifier. |
XID_PREFIX_ARRAY
protected static final char[] XID_PREFIX_ARRAY
- The XID_PREFIX and XID_FORMAT as a character array.
GLOBAL_FORMAT_ID
protected static final int GLOBAL_FORMAT_ID
- The format identifier used by all local transactions.
GlobalXid
public GlobalXid()
- Construct a new global transaction identifier.
GlobalXid
public GlobalXid(byte[] global)
- Construct a new global transaction identifier.
getFormatId
public int getFormatId()
getGlobalTransactionId
public byte[] getGlobalTransactionId()
getBranchQualifier
public byte[] getBranchQualifier()
equals
public boolean equals(java.lang.Object other)
newBranch
public javax.transaction.xa.Xid newBranch()
- Description copied from class:
BaseXid
- Creates a new transaction branch. A transaction branch has the
same format and global transaction identifier as this transaction
identifier, but a new unique branch qualifier (never empty).
- Overrides:
newBranch in class BaseXid
- Following copied from class:
jrunx.tyrex.tm.xid.BaseXid
- Returns:
- A new transaction branch
Copyright � 2002 Macromedia Corporation. All Rights Reserved.