com.atlassian.plugin.loaders.PluginLoader |
Known Indirect Subclasses
BundledPluginLoader |
Plugin loader that can find plugins via a single URL, and treats all plugins loaded from
the directory as bundled plugins, meaning they can can be upgraded, but not deleted. |
ClassPathPluginLoader |
Loads plugins from the classpath
|
DirectoryPluginLoader |
A plugin loader to load plugins from a directory on disk. |
DynamicPluginLoader |
Plugin loader that supports installed plugins at runtime
|
ScanningPluginLoader |
Plugin loader that delegates the detection of plugins to a Scanner instance. |
SinglePluginLoader |
Loads a single plugin from the descriptor provided, which can either be an InputStream
or a resource on the classpath. |
|
Class Overview
Handles loading and unloading plugin artifacts from a location
Public Methods
Returns
- a collection of discovered plugins which have now been loaded by this PluginLoader
public
void
removePlugin
(Plugin plugin)
public
boolean
supportsAddition
()
Returns
- true if this PluginLoader tracks whether or not plugins are added to it.
public
boolean
supportsRemoval
()
Returns
- true if this PluginLoader tracks whether or not plugins are removed from it.