|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.arjuna.ats.jta.utils.XAHelper
Some useful utility routines.
Constructor Summary | |
XAHelper()
|
Method Summary | |
static java.lang.String |
printXAErrorCode(javax.transaction.xa.XAException e)
Print a human-readable version of the XAException. |
static boolean |
sameXID(javax.transaction.xa.Xid x1,
javax.transaction.xa.Xid x2)
Compares two Xid instances. |
static java.lang.String |
xidToString(javax.transaction.xa.Xid xid)
get a string representing anyones Xid similar too, but not the same as OTS_Transaction/xa/XID.toString() |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XAHelper()
Method Detail |
public static java.lang.String printXAErrorCode(javax.transaction.xa.XAException e)
public static boolean sameXID(javax.transaction.xa.Xid x1, javax.transaction.xa.Xid x2)
true
if the two instances are the same,
false
otherwise.public static java.lang.String xidToString(javax.transaction.xa.Xid xid)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |