public class DefaultLoaderService extends Object implements LoaderService
ServiceLoader of Java 1.6 and
uses a fallback for Java 1.5| Constructor and Description |
|---|
DefaultLoaderService() |
| Modifier and Type | Method and Description |
|---|---|
<T> List<T> |
load(Class<T> serviceType)
Loads all active implementations for the given service-type
|
<T> List<T> |
load(Class<T> serviceType,
ClassLoader classLoader)
Loads all active implementations for the given service-type
|
public <T> List<T> load(Class<T> serviceType)
LoaderServiceload in interface LoaderServiceT - current typeserviceType - base type of the services which should be loadedpublic <T> List<T> load(Class<T> serviceType, ClassLoader classLoader)
LoaderServiceload in interface LoaderServiceT - current typeserviceType - base type of the services which should be loadedCopyright © 2008–2022 The Apache Software Foundation. All rights reserved.