org.crsh.spring
Class SpringPluginDiscovery
java.lang.Object
org.crsh.plugin.ServiceLoaderDiscovery
org.crsh.spring.SpringPluginDiscovery
- All Implemented Interfaces:
- PluginDiscovery
public class SpringPluginDiscovery
- extends ServiceLoaderDiscovery
Field Summary |
private org.springframework.beans.factory.BeanFactory |
factory
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
factory
private org.springframework.beans.factory.BeanFactory factory
SpringPluginDiscovery
public SpringPluginDiscovery(ClassLoader classLoader,
org.springframework.beans.factory.BeanFactory factory)
throws NullPointerException
- Throws:
NullPointerException
getPlugins
public Iterable<CRaSHPlugin<?>> getPlugins()
- Description copied from interface:
PluginDiscovery
- Returns the available plugins.
- Specified by:
getPlugins
in interface PluginDiscovery
- Overrides:
getPlugins
in class ServiceLoaderDiscovery
- Returns:
- the plugins
Copyright © 2014 eXo Platform SAS. All Rights Reserved.