code: public void rollback(final Xid xid) throws XAException {
  
          final String methodName = "rollback";
          if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) {
              SibTr.entry(this, TRACE, methodName, xid);
          }
  
          _siXaResource.rollback(xid);
  
          // Add the value true to indicate we have rolled back to the hashtable of
          // stats (keying off the xid)
          synchronized (_transactionStates) {
  
            _transactionStates.put (xid, Boolean.TRUE);
  
            if (TraceComponent.isAnyTracingEnabled() && TRACE.isDebugEnabled()) {
              StringBuffer sb = new StringBuffer ("After adding the xid ");
              sb.append (xid);
              sb.append (" the hashtable of transactionStates now contains ");
              sb.append (_transactionStates.size());
              sb.append (" entries");
              SibTr.debug (this, TRACE, sb.toString());
            }
  
          }
  
          if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) {
              SibTr.exit(this, TRACE, methodName);
          }
  
      }
docs: /*
  (non-Javadoc)
  
  @see javax.transaction.xa.XAResource#rollback(javax.transaction.xa.Xid)