public class PluginManager extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
PluginManager()
Used by
getInstance() function check the available plugin on classpath
and add them on availablePlugins |
| Modifier and Type | Method and Description |
|---|---|
Map<String,org.gcube.vremanagement.executor.plugin.PluginDeclaration> |
getAvailablePlugins() |
static PluginManager |
getInstance()
Get the singleton instance of
PluginManager(). |
org.gcube.vremanagement.executor.plugin.PluginDeclaration |
getPlugin(String name) |
protected PluginManager()
getInstance() function check the available plugin on classpath
and add them on availablePluginspublic static PluginManager getInstance()
PluginManager().
The first time this function is invoked the instance is null
so it is created. Otherwise the already created instance is returnedPluginManager()public org.gcube.vremanagement.executor.plugin.PluginDeclaration getPlugin(String name)
name - The name of the pluginCopyright © 2015. All Rights Reserved.