public class MapPluginLoader<T extends MapInitializedPlugin> extends AbstractPluginLoader<T>
Constructor and Description |
---|
MapPluginLoader(String name,
Class<T> pluginClassType,
Map<String,T> map) |
Modifier and Type | Method and Description |
---|---|
protected void |
init(T plugin,
Node node)
Initialize the plugin.
|
protected T |
register(String name,
T plugin)
Register a plugin with a given name.
|
create, getDefaultPackages, load, loadSingle
protected void init(T plugin, Node node) throws Exception
AbstractPluginLoader
init
in class AbstractPluginLoader<T extends MapInitializedPlugin>
plugin
- - the plugin to initializenode
- - the XML node defining this pluginException
protected T register(String name, T plugin) throws Exception
AbstractPluginLoader
register
in class AbstractPluginLoader<T extends MapInitializedPlugin>
Exception
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.