code: public void enlistResource(JTAResource remoteRes) {
          if (tc.isEntryEnabled())
              Tr.entry(tc, "enlistResource (SPI): args: ", remoteRes);
  
          getResources().addRes(remoteRes);
  
          if (tc.isEntryEnabled())
              Tr.exit(tc, "enlistResource (SPI)");
      }
docs: Enlist a remote resouce with the transaction associated with the target
  TransactionImpl object. Typically, this remote resource represents a
  downstream suborindate server.
  
  @param remoteRes the remote resource wrapped as a JTAResource