Uses of Class
java.util.ServiceLoader
| Package | Description |
|---|---|
| java.util |
-
Uses of ServiceLoader in java.util
Methods in java.util that return ServiceLoader Modifier and Type Method Description static <S> ServiceLoader<S>ServiceLoader. load(Class<S> service)Constructs a service loader, using the current thread's context class loader.static <S> ServiceLoader<S>ServiceLoader. load(Class<S> service, ClassLoader classLoader)Constructs a service loader.static <S> ServiceLoader<S>ServiceLoader. loadInstalled(Class<S> service)Constructs a service loader, using the extension class loader.