Package com.atlassian.plugin.loaders
Interface DiscardablePluginLoader
- All Superinterfaces:
PluginLoader
- All Known Implementing Classes:
BundledPluginLoader,DirectoryPluginLoader,ForwardingPluginLoader,PermissionCheckingPluginLoader,RosterFilePluginLoader,ScanningPluginLoader
A PluginLoader which requires plugins to be discarded after load if they are not removed.
PluginLoader implementations which also implement this interface are requesting that
either discardPlugin or removePlugin be called for every plugin which is returned by
loadAllPlugins or loadFoundPlugins.
-
Method Summary
Modifier and TypeMethodDescriptionvoiddiscardPlugin(Plugin plugin) Notify the PluginLoader that the system will not be loading the given plugin.Methods inherited from interface com.atlassian.plugin.loaders.PluginLoader
createModule, isDynamicPluginLoader, loadAllPlugins, loadFoundPlugins, removePlugin, supportsAddition, supportsRemoval
-
Method Details
-
discardPlugin
Notify the PluginLoader that the system will not be loading the given plugin. This instructs the PluginLoader to discard any resources associated with the Plugin.
-