org.crsh.spring
Class SpringPluginDiscovery

java.lang.Object
  extended by org.crsh.plugin.ServiceLoaderDiscovery
      extended by org.crsh.spring.SpringPluginDiscovery
All Implemented Interfaces:
PluginDiscovery

public class SpringPluginDiscovery
extends ServiceLoaderDiscovery


Field Summary
private  org.springframework.beans.factory.BeanFactory factory
           
 
Constructor Summary
SpringPluginDiscovery(ClassLoader classLoader, org.springframework.beans.factory.BeanFactory factory)
           
 
Method Summary
 Iterable<CRaSHPlugin<?>> getPlugins()
          Returns the available plugins.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

factory

private org.springframework.beans.factory.BeanFactory factory
Constructor Detail

SpringPluginDiscovery

public SpringPluginDiscovery(ClassLoader classLoader,
                             org.springframework.beans.factory.BeanFactory factory)
                      throws NullPointerException
Throws:
NullPointerException
Method Detail

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 © 2015 eXo Platform SAS. All Rights Reserved.