|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.plugin.loaders.ClassPathPluginLoader
public class ClassPathPluginLoader
Loads plugins from the classpath
| Constructor Summary | |
|---|---|
ClassPathPluginLoader()
|
|
ClassPathPluginLoader(String fileNameToLoad)
|
|
| 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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClassPathPluginLoader()
public ClassPathPluginLoader(String fileNameToLoad)
| Method Detail |
|---|
public Iterable<Plugin> loadAllPlugins(ModuleDescriptorFactory moduleDescriptorFactory)
throws PluginParseException
PluginLoader
loadAllPlugins in interface PluginLoadermoduleDescriptorFactory - the factory for module descriptors
PluginParseException - if any error occurred loading pluginspublic boolean supportsRemoval()
supportsRemoval in interface PluginLoaderpublic boolean supportsAddition()
supportsAddition in interface PluginLoaderpublic boolean isDynamicPluginLoader()
isDynamicPluginLoader in interface PluginLoadertrue if this plugin loader can load plugins dynamicallypublic Iterable<Plugin> loadFoundPlugins(ModuleDescriptorFactory moduleDescriptorFactory)
PluginLoader
loadFoundPlugins in interface PluginLoadermoduleDescriptorFactory - the factory for module descriptors
public void removePlugin(Plugin plugin)
throws PluginException
PluginLoader
removePlugin in interface PluginLoaderPluginException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||