jrunx.tyrex.tm.xid
Class LocalXid
jrunx.tyrex.tm.xid.BaseXid
|
+--jrunx.tyrex.tm.xid.LocalXid
- All Implemented Interfaces:
- java.io.Serializable
- public final class LocalXid
- extends BaseXid
Local transaction identifier. Used by resource managers for local
transactions. A local transaction identifier has an empty global
transaction identifier and unique branch qualifier.
- See Also:
- Serialized Form
|
Field Summary |
static int |
LOCAL_FORMAT_ID
The format identifier used by all local transactions. |
|
Constructor Summary |
LocalXid()
Construct a new unique transaction identifier. |
LOCAL_FORMAT_ID
public static final int LOCAL_FORMAT_ID
- The format identifier used by all local transactions.
LocalXid
public LocalXid()
- Construct a new unique 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.