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