|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object tyrex.tm.xid.BaseXid
Base implementation for all xids used by Tyrex (local, global, branch
and external). All xids have a string representation in the form
xid:
Field Summary | |
protected java.lang.String |
_string
The textual representation of the transaction identifier. |
protected static byte[] |
EMPTY_ARRAY
The default branch is always an empty byte array. |
static int |
FORMAT_ID
Format identifier for all internal Xids or newly created Xids. |
protected static char[] |
HEX_DIGITS
Efficient mapping from 4 bit value to lower case hexadecimal digit. |
static java.lang.String |
XID_PREFIX
Prefix for textual identifier. |
Fields inherited from interface javax.transaction.xa.Xid |
MAXBQUALSIZE, MAXGTRIDSIZE |
Constructor Summary | |
BaseXid()
|
Method Summary | |
protected static char[] |
createPrefix(int formatId)
|
int |
hashCode()
|
abstract javax.transaction.xa.Xid |
newBranch()
Creates a new transaction branch. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface javax.transaction.xa.Xid |
getBranchQualifier, getFormatId, getGlobalTransactionId |
Field Detail |
public static final java.lang.String XID_PREFIX
public static final int FORMAT_ID
protected static final byte[] EMPTY_ARRAY
protected static final char[] HEX_DIGITS
protected java.lang.String _string
Constructor Detail |
public BaseXid()
Method Detail |
public java.lang.String toString()
public int hashCode()
public abstract javax.transaction.xa.Xid newBranch()
protected static final char[] createPrefix(int formatId)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |