com.atlassian.plugin.loaders
Interface PluginLoader
- All Known Implementing Classes:
- ClassLoadingPluginLoader, ClassPathPluginLoader, SinglePluginLoader
public interface PluginLoader
loadAllPlugins
java.util.Collection loadAllPlugins(ModuleDescriptorFactory moduleDescriptorFactory)
throws PluginParseException
- Throws:
PluginParseException
supportsAddition
boolean supportsAddition()
- Returns:
- true if this PluginLoader tracks whether or not plugins are added to it.
supportsRemoval
boolean supportsRemoval()
- Returns:
- true if this PluginLoader tracks whether or not plugins are removed from it.
addFoundPlugins
java.util.Collection addFoundPlugins(ModuleDescriptorFactory moduleDescriptorFactory)
throws PluginParseException
- Returns:
- a collection of discovered plugins which have now been loaded by this pluginloader
- Throws:
PluginParseException
removePlugin
void removePlugin(Plugin plugin)
throws PluginException
- Remove a specific plugin
- Throws:
PluginException
Copyright © 2008 Atlassian Pty Ltd. All Rights Reserved.