code: protected boolean distributeEnd() throws SystemException {
          if (tc.isEntryEnabled())
              Tr.entry(tc, "distributeEnd");
  
          if (!getResources().distributeEnd(XAResource.TMSUCCESS)) {
              setRBO();
          }
  
          if (_rollbackOnly) {
              try {
                  _status.setState(TransactionState.STATE_ROLLING_BACK);
              } catch (SystemException se) {
                  FFDCFilter.processException(se, "com.ibm.tx.jta.TransactionImpl.distributeEnd", "1731", this);
                  if (tc.isEntryEnabled())
                      Tr.exit(tc, "distributeEnd", se);
                  throw se;
              }
          }
  
          if (tc.isEntryEnabled())
              Tr.exit(tc, "distributeEnd", !_rollbackOnly);
          return !_rollbackOnly;
      }
docs: Distribute end to all XA resources