code: public boolean enlistOnePhase(UOWCoordinator coord, OnePhaseXAResource opXaRes)
      throws RollbackException, IllegalStateException, SystemException
      {
          final boolean traceOn = TraceComponent.isAnyTracingEnabled();
  
          if (traceOn && tc.isEntryEnabled()) Tr.entry(tc, "enlistOnePhase", new Object[] {coord, opXaRes});
  
          boolean result = false;
  
          if (coord instanceof TransactionImpl)
          {
              try
              {
                  result = ((TransactionImpl)coord).enlistResource(opXaRes);
              }
              finally
              {
                  if (traceOn && tc.isEntryEnabled()) Tr.exit(tc, "enlistOnePhase", result);
              }
          }
          else
          {
              final SystemException se = new SystemException("Invalid UOWCoordinator");
              FFDCFilter.processException(se, "com.ibm.ws.Transaction.JTA.TranManagerSet.enlistOnePhase", "405", this);
              if (traceOn && tc.isEntryEnabled()) Tr.exit(tc, "enlistOnePhase", se);
              throw se;
          }
          
          return result;
      }
docs: /* Called by ConnectO and LocalTransactionWrapper