public class ExtensionLoaderFactory extends Object
| 构造器和说明 |
|---|
ExtensionLoaderFactory() |
| 限定符和类型 | 方法和说明 |
|---|---|
static <T> T |
load(Class<T> service)
Load t.
|
static <T> T |
load(Class<T> service,
ClassLoader loader)
Load t.
|
static <T> T |
load(Class<T> service,
String name)
Load t.
|
static <T> T |
load(Class<T> service,
String name,
Class<?>[] argsType,
Object[] args)
Load t.
|
static <T> T |
load(Class<T> service,
String name,
ClassLoader loader)
Load t.
|
static <T> T |
load(Class<T> service,
String name,
Object[] args)
Load t.
|
static <T> List<T> |
loadAll(Class<T> service)
Load all list.
|
public static <T> T load(Class<T> service)
T - the type parameterservice - the servicepublic static <T> T load(Class<T> service, String name)
T - the type parameterservice - the servicename - the namepublic static <T> T load(Class<T> service, ClassLoader loader)
T - the type parameterservice - the serviceloader - the loaderpublic static <T> T load(Class<T> service, String name, ClassLoader loader)
T - the type parameterservice - the servicename - the nameloader - the loaderpublic static <T> T load(Class<T> service, String name, Object[] args)
T - the type parameterservice - the servicename - the nameargs - the argspublic static <T> T load(Class<T> service, String name, Class<?>[] argsType, Object[] args)
T - the type parameterservice - the servicename - the nameargsType - the args typeargs - the argsCopyright © 2022 dromara. All rights reserved.