code: public void commit_one_phase() throws RollbackException, HeuristicMixedException, HeuristicHazardException, HeuristicRollbackException, SecurityException, IllegalStateException, SystemException {
          if (tc.isEntryEnabled())
              Tr.entry(tc, "commit_one_phase");
  
          // This call is only valid for a single subordinate - treat as a "superior"
          _subordinate = false;
  
          try {
              processCommit();
          } finally {
              if (tc.isEntryEnabled())
                  Tr.exit(tc, "commit_one_phase");
          }
      }
docs: Commit the transation associated with a subordinate which received
  a commit_one_phase request from the superior. Any other
  subordinate requests should call the internal methods directly.
  
  @exception RollbackException Thrown to indicate that
  the transaction has been rolled back rather than committed.
  
  @exception HeuristicMixedException Thrown to indicate that a heuristic
  mix decision was made.
  
  @exception HeuristicHazardException Thrown to indicate that a heuristic
  hazard decision was made.
  
  @exception HeuristicRollbackException Thrown to indicate that a
  heuristic rollback decision was made.
  
  @exception SecurityException Thrown to indicate that the thread is
  not allowed to commit the transaction.
  
  @exception IllegalStateException Thrown if the transaction in the
  target object is inactive.
  
  @exception SystemException Thrown if the transaction manager
  encounters an unexpected error condition