}
   public boolean isSameRM(XAResource xaResource) throws XAException   {      if (!(xaResource instanceof JBossXAResource))         return false;      return ((JBossXAResource)xaResource).rm == this.rm;   }