public static < S > ServiceFinder < S > loadInstalled ( Class < S > service ) { ClassLoader cl = ClassLoader . getSystemClassLoader ( ) ; ClassLoader prev = null ; while ( cl != null ) { prev = cl ; cl = cl . getParent ( ) ; } return load ( service , prev ) ; }
Creates a new service loader for the given service type using the extension class loader .