com.atlassian.plugin.loaders
Class BundledPluginLoader

java.lang.Object
  extended by com.atlassian.plugin.loaders.ScanningPluginLoader
      extended by com.atlassian.plugin.loaders.BundledPluginLoader
All Implemented Interfaces:
DiscardablePluginLoader, DynamicPluginLoader, PluginLoader

public class BundledPluginLoader
extends ScanningPluginLoader

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.

Depending on the URL:


Field Summary
 
Fields inherited from class com.atlassian.plugin.loaders.ScanningPluginLoader
pluginArtifactFactory, pluginFactories, plugins, scanner
 
Constructor Summary
BundledPluginLoader(java.net.URL zipUrl, java.io.File pluginPath, java.util.List<PluginFactory> pluginFactories, PluginEventManager eventManager)
           
 
Method Summary
protected  Plugin postProcess(Plugin plugin)
          Template method that can be used by a specific PluginLoader to add information to a Plugin after it has been loaded.
 
Methods inherited from class com.atlassian.plugin.loaders.ScanningPluginLoader
canLoad, deployPluginFromUnit, discardPlugin, isDynamicPluginLoader, loadAllPlugins, loadFoundPlugins, onShutdown, removePlugin, shutDown, supportsAddition, supportsRemoval
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BundledPluginLoader

public BundledPluginLoader(java.net.URL zipUrl,
                           java.io.File pluginPath,
                           java.util.List<PluginFactory> pluginFactories,
                           PluginEventManager eventManager)
Method Detail

postProcess

protected Plugin postProcess(Plugin plugin)
Description copied from class: ScanningPluginLoader
Template method that can be used by a specific PluginLoader to add information to a Plugin after it has been loaded.

Overrides:
postProcess in class ScanningPluginLoader
Parameters:
plugin - a plugin that has been loaded


Copyright © 2013 Atlassian. All Rights Reserved.