public class ServiceLoader
extends Object
Constructor and Description |
---|
ServiceLoader() |
Modifier and Type | Method and Description |
---|---|
static <S> List<S> |
load(Class<S> clazz) |
static <S> List<S> |
load(Class<S> clazz,
ServiceLoaderCondition serviceLoaderCondition) |
static <S> List<S> |
load(ClassLoader classLoader,
Class<S> clazz) |
static <S> List<S> |
load(ClassLoader classLoader,
Class<S> clazz,
ServiceLoaderCondition serviceLoaderCondition) |
static <S> List<S> |
load(ClassLoader lookupClassLoader,
ClassLoader defineClassLoader,
Class<S> clazz,
ServiceLoaderCondition serviceLoaderCondition) |
public static <S> List<S> load(Class<S> clazz) throws Exception
Exception
public static <S> List<S> load(Class<S> clazz, ServiceLoaderCondition serviceLoaderCondition) throws Exception
Exception
public static <S> List<S> load(ClassLoader classLoader, Class<S> clazz) throws Exception
Exception
public static <S> List<S> load(ClassLoader classLoader, Class<S> clazz, ServiceLoaderCondition serviceLoaderCondition) throws Exception
Exception
public static <S> List<S> load(ClassLoader lookupClassLoader, ClassLoader defineClassLoader, Class<S> clazz, ServiceLoaderCondition serviceLoaderCondition) throws Exception
Exception