com.atlassian.plugin.loaders
Interface DiscardablePluginLoader

All Superinterfaces:
PluginLoader
All Known Implementing Classes:
BundledPluginLoader, DirectoryPluginLoader, ForwardingPluginLoader, PermissionCheckingPluginLoader, RosterFilePluginLoader, ScanningPluginLoader

public interface DiscardablePluginLoader
extends PluginLoader

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
 void discardPlugin(Plugin plugin)
          Notify the PluginLoader that the system will not be loading the given plugin.
 
Methods inherited from interface com.atlassian.plugin.loaders.PluginLoader
isDynamicPluginLoader, loadAllPlugins, loadFoundPlugins, removePlugin, supportsAddition, supportsRemoval
 

Method Detail

discardPlugin

void discardPlugin(Plugin plugin)
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.



Copyright © 2015 Atlassian. All rights reserved.