code: public void close() {
  
          if (this.xaConnection != null) {
              this.xaConnection.doClose();
          }
          this.closed = true;
          this.notifyClosed();
  
          if (LOG.isDebugEnabled()) {
              LOG.debug("PhynixxXAResource[" + this.getId() + "]:closed ");
          }
      }
docs: finds the transactional branch of the current XAResource associated with
  die XID
  Close this XA XAResourceProgressState. All depending Connection are
  closed