public class ServiceLoaderDiscovery extends Object implements PluginDiscovery
| Modifier and Type | Field and Description |
|---|---|
private ClassLoader |
classLoader
.
|
private static Logger |
log
.
|
| Constructor and Description |
|---|
ServiceLoaderDiscovery(ClassLoader classLoader)
Create a new instance.
|
private final ClassLoader classLoader
public ServiceLoaderDiscovery(ClassLoader classLoader) throws NullPointerException
classLoader - the loader for the discoveryNullPointerException - if the loader argument is nullpublic Iterable<CRaSHPlugin<?>> getPlugins()
PluginDiscoverygetPlugins in interface PluginDiscoveryCopyright © 2015 eXo Platform SAS. All Rights Reserved.