public class PluginManager extends Object
| Constructor and Description |
|---|
PluginManager()
Creates a new instance, installing all the plugins found on the classpath.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,org.gcube.data.tmf.api.Plugin> |
plugins()
Returns the installed plugins, indexed by name.
|
void |
register(org.gcube.data.tmf.api.Plugin plugin) |
void |
stop()
Stops all plugins.
|
void |
stop(org.gcube.data.tmf.api.Plugin plugin)
Stops a given plugin
|
public PluginManager()
public void register(org.gcube.data.tmf.api.Plugin plugin)
public Map<String,org.gcube.data.tmf.api.Plugin> plugins()
public void stop()
public void stop(org.gcube.data.tmf.api.Plugin plugin)
plugin - the pluginCopyright © 2014. All Rights Reserved.