Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.arjuna.ats.jta.utils
Class XAHelper

    java.lang.Object
      com.arjuna.ats.jta.utils.XAHelper

public class XAHelper
extends java.lang.Object

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

### XAHelper

    public XAHelper()

Method Detail

### printXAErrorCode

    public static java.lang.String printXAErrorCode(javax.transaction.xa.XAException e)

  Print a human-readable version of the XAException.

### sameXID

    public static boolean sameXID(javax.transaction.xa.Xid x1,
                                  javax.transaction.xa.Xid x2)

  Compares two Xid instances.

  Returns:
    `true` if the two instances are the same, `false` otherwise.

### xidToString

    public 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()

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD