Class XAUtils

java.lang.Object
com.arjuna.ats.internal.jta.utils.XAUtils

public class XAUtils extends Object
Since:
JTS 3.3.
Version:
$Id: XAUtils.java 2342 2006-03-30 13:06:17Z $
Author:
Mark Little (mark.little@arjuna.com)
  • Constructor Details

    • XAUtils

      public XAUtils()
  • Method Details

    • mustEndSuspendedRMs

      public static final boolean mustEndSuspendedRMs(XAResource res)
    • canOptimizeDelist

      public static final boolean canOptimizeDelist(XAResource res)
    • isSameRM

      public static boolean isSameRM(XAResource r1, XAResource r2) throws XAException
      Throws:
      XAException
    • getXANodeName

      public static final String getXANodeName(Xid xid)
      Trying to convert Xid to Narayana implementation for being able to access the internal byte array in order to return node name codified inside of the Xid.
      Parameters:
      xid - the xid to check the node name
      Returns:
      node name saved in the xid
    • getSubordinateNodeName

      public static final String getSubordinateNodeName(Xid xid)
      Returning subordinate node name codified inside of the Xid.
      Parameters:
      xid - the xid to check the subordinate node name
      Returns:
      subordinate node name saved in the xid
    • getEisName

      public static final Integer getEisName(Xid xid)
      Returning eis name codified inside of the Xid.
      Parameters:
      xid - the xid to check the eis name
      Returns:
      eis name integer saved in the xid