| java.lang.Object | |
| ↳ | com.atlassian.plugin.loaders.ScanningPluginLoader |
Known Direct Subclasses
|
Known Indirect Subclasses
|
Plugin loader that delegates the detection of plugins to a Scanner instance. The scanner may monitor the contents of a directory on disk, a database, or any other place plugins may be hidden.
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| pluginArtifactFactory | |||||||||||
| pluginFactories | |||||||||||
| plugins | |||||||||||
| scanner | |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Constructor that provides a default plugin artifact factory
| |||||||||||
Construct a new scanning plugin loader with no default values
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Determines if the artifact can be loaded by any of its deployers
| |||||||||||
Called during plugin framework shutdown
| |||||||||||
Remove a specific plugin
| |||||||||||
This method is deprecated.
Since 2.0.0, shutdown will automatically occur when the plugin framework is shutdown
| |||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Template method that can be used by a specific
PluginLoader to
add information to a Plugin after it has been loaded. | |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.atlassian.plugin.loaders.DynamicPluginLoader
| |||||||||||
From interface
com.atlassian.plugin.loaders.PluginLoader
| |||||||||||
Constructor that provides a default plugin artifact factory
| scanner | The scanner to use to detect new plugins |
|---|---|
| pluginFactories | The deployers that will handle turning an artifact into a plugin |
| pluginEventManager | The event manager, used for listening for shutdown events |
Construct a new scanning plugin loader with no default values
| scanner | The scanner to use to detect new plugins |
|---|---|
| pluginFactories | The deployers that will handle turning an artifact into a plugin |
| pluginArtifactFactory | used to create new plugin artifacts from an URL |
| pluginEventManager | The event manager, used for listening for shutdown events |
| PluginParseException |
|---|
Determines if the artifact can be loaded by any of its deployers
| pluginArtifact | The artifact to test |
|---|
| PluginParseException |
|---|
Called during plugin framework shutdown
| event | The shutdown event |
|---|
Remove a specific plugin
| plugin | - the plugin to remove |
|---|
| PluginException | representing the reason for failure. |
|---|
This method is deprecated.
Since 2.0.0, shutdown will automatically occur when the plugin framework is shutdown
Template method that can be used by a specific PluginLoader to
add information to a Plugin after it has been loaded.
| plugin | a plugin that has been loaded |
|---|