Package org.apache.solr.util.plugin
Class MapPluginLoader<T extends MapInitializedPlugin>
- java.lang.Object
-
- org.apache.solr.util.plugin.AbstractPluginLoader<T>
-
- org.apache.solr.util.plugin.MapPluginLoader<T>
-
public class MapPluginLoader<T extends MapInitializedPlugin> extends AbstractPluginLoader<T>
- Since:
- solr 1.3
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
init(T plugin, org.apache.solr.common.ConfigNode node)
Initialize the plugin.protected T
register(String name, T plugin)
Register a plugin with a given name.-
Methods inherited from class org.apache.solr.util.plugin.AbstractPluginLoader
create, getDefaultPackages, load, loadSingle
-
-
-
-
Method Detail
-
init
protected void init(T plugin, org.apache.solr.common.ConfigNode node) throws Exception
Description copied from class:AbstractPluginLoader
Initialize the plugin.- Specified by:
init
in classAbstractPluginLoader<T extends MapInitializedPlugin>
- Parameters:
plugin
- - the plugin to initializenode
- - the XML node defining this plugin- Throws:
Exception
-
register
protected T register(String name, T plugin) throws Exception
Description copied from class:AbstractPluginLoader
Register a plugin with a given name.- Specified by:
register
in classAbstractPluginLoader<T extends MapInitializedPlugin>
- Returns:
- The plugin previously registered to this name, or null
- Throws:
Exception
-
-