Class SubordinateXidImple

java.lang.Object
com.arjuna.ats.jta.xa.XidImple
com.arjuna.ats.internal.jta.transaction.arjunacore.jca.SubordinateXidImple
All Implemented Interfaces:
Serializable, Xid

public class SubordinateXidImple extends XidImple
See Also:
  • Constructor Details

    • SubordinateXidImple

      public SubordinateXidImple(Xid xid)
  • Method Details

    • equals

      public boolean equals(Object obj)
      Test equality as being part of the same global transaction
      Overrides:
      equals in class XidImple
      Parameters:
      obj - The object to test.
      Returns:
      true if they are equal, false otherwise.
    • getHash

      protected int getHash(XID xid)
      Generate the hash code for the xid, subordinates are diffed on the gtrid only.
      Overrides:
      getHash in class XidImple
      Parameters:
      xid - The xid.
      Returns:
      The hash code.