public class PluginRepository extends Object
| Constructor and Description |
|---|
PluginRepository() |
| Modifier and Type | Method and Description |
|---|---|
void |
addPluginDefinition(PluginDefinition pluginDef)
Adds a plugin definition to this repository.
|
Collection<PluginDefinition> |
getAllPlugins()
Returns all the plugin definitions managed by this repository.
|
IPluginInterface |
getPlugin(String sName)
Returns an instance of the plugin declared inside the plugin definition.
|
public final void addPluginDefinition(PluginDefinition pluginDef)
pluginDef - The plugin definition to be added.public final IPluginInterface getPlugin(String sName)
sName - The name of the plugin to be instantiated.public final Collection<PluginDefinition> getAllPlugins()
Copyright © 2013. All Rights Reserved.