code: public static SPIProviderResolver getInstance(ClassLoader cl)
     {
        SPIProviderResolver resolver = (SPIProviderResolver)ServiceLoader.loadService(SPIProviderResolver.class.getName(), DEFAULT_SPI_PROVIDER_RESOLVER, cl);
        return resolver;
     }
docs: Get the SPIProviderResolver instance using the provided classloader for lookup
  
  @param cl  classloader to use for lookup
  @return   instance of this class