public static SPIProviderResolver getInstance ( ClassLoader cl ) { SPIProviderResolver resolver = ( SPIProviderResolver ) ServiceLoader . loadService ( SPIProviderResolver . class . getName ( ) , DEFAULT_SPI_PROVIDER_RESOLVER , cl ) ; return resolver ; }
Get the SPIProviderResolver instance using the provided classloader for lookup