|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PluginLoader
Handles loading and unloading plugin artifacts from a location
| Method Summary | |
|---|---|
boolean |
isDynamicPluginLoader()
|
Iterable<Plugin> |
loadAllPlugins(ModuleDescriptorFactory moduleDescriptorFactory)
Loads all plugins that can be installed in the plugin system. |
Iterable<Plugin> |
loadFoundPlugins(ModuleDescriptorFactory moduleDescriptorFactory)
Load all newly found plugins that can be installed in the plugin system. |
void |
removePlugin(Plugin plugin)
Remove a specific plugin |
boolean |
supportsAddition()
|
boolean |
supportsRemoval()
|
| Method Detail |
|---|
Iterable<Plugin> loadAllPlugins(ModuleDescriptorFactory moduleDescriptorFactory)
throws PluginParseException
moduleDescriptorFactory - the factory for module descriptors
PluginParseException - if any error occurred loading plugins
Iterable<Plugin> loadFoundPlugins(ModuleDescriptorFactory moduleDescriptorFactory)
throws PluginParseException
moduleDescriptorFactory - the factory for module descriptors
PluginParseException - if any error occurred loading pluginsboolean supportsAddition()
boolean supportsRemoval()
void removePlugin(Plugin plugin)
throws PluginException
PluginExceptionboolean isDynamicPluginLoader()
true if this plugin loader can load plugins dynamically
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||