code: @Override
      public final DataSource createConnectionFactory(ConnectionManager connMgr) {
          final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); 
  
          if (isTraceOn && tc.isEntryEnabled()) 
              Tr.entry(this, tc, "createConnectionFactory", connMgr); 
  
          DataSource connFactory = jdbcRuntime.newDataSource(this, connMgr);
  
          if (isTraceOn && tc.isEntryEnabled())
              Tr.exit(this, tc, "createConnectionFactory", connFactory); 
          return connFactory;
      }
docs: Creates a javax.sql.DataSource that uses the application server provided
  connection manager to manage its connections.
  
  @param ConnectionManager connMgr - An application server provided ConnectionManager.
  @return a new instance of WSJdbcDataSource or a subclass of it pertaining to a particular JDBC spec level.