Package | Description |
---|---|
ej.components.dependencyinjection | |
ej.components.dependencyinjection.util |
Modifier and Type | Method and Description |
---|---|
<T> T |
ServiceLoader.getService(java.lang.Class<T> service,
boolean singleton)
Gets the registered implementation for the given service.
|
<T> T |
DefaultServiceLoader.getService(java.lang.Class<T> service,
boolean singleton) |
Modifier and Type | Method and Description |
---|---|
static <T> T |
ServiceLoaderHelper.createClassInstance(java.lang.Class<T> parent,
java.lang.String className)
Gets an instance of a class, based on its name.
|