|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IPluginRepository
The interface that all the plugin repository classes must implement.
| Method Summary | |
|---|---|
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 name)
Returns an instance of the plugin declared inside the plugin definition. |
void |
removePluginDefinition(PluginDefinition pluginDef)
Removes a plugin definition from the repository. |
| Method Detail |
|---|
IPluginInterface getPlugin(String name)
throws UnknownPluginException
name - The name of the plugin to be instantiated.
UnknownPluginException - if no plugins with the given name existsCollection<PluginDefinition> getAllPlugins()
void addPluginDefinition(PluginDefinition pluginDef)
pluginDef - The plugin definition to be added.void removePluginDefinition(PluginDefinition pluginDef)
pluginDef - The plugin to be removed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||