code: protected void setDataSourceFactory(ServiceReference<ResourceFactory> ref) {
          if (tc.isDebugEnabled())
              Tr.debug(tc, "pre-setReference  datasourceFactory ref " + dataSourceFactoryRef);
          dataSourceFactoryRef.setReference(ref);
          if (tc.isDebugEnabled())
              Tr.debug(tc, "post-setReference  datasourceFactory ref " + dataSourceFactoryRef);
  
          if (!activateHasBeenCalled)
              if (tc.isDebugEnabled())
                  Tr.debug(tc, "setDataSourceFactory has been called before activate");
  
          // If the JTMConfigurationProvider has been activated, we can proceed to set
          // the DataSourceFactory and initiate recovery
          if (_cc != null) {
              if (tc.isDebugEnabled())
                  Tr.debug(tc, "setDataSourceFactory and activate have been called, initiate recovery");
  
              if (tmsRef != null)
                  tmsRef.doStartup(this, _isSQLRecoveryLog);
          }
      }
docs: /*
  Called by DS to inject DataSourceFactory reference from the com.ibm.ws.jdbc component