com.atlassian.confluence.plugin
Class BundledClassLoadingPluginLoader

java.lang.Object
  extended by com.atlassian.plugin.loaders.ClassLoadingPluginLoader
      extended by com.atlassian.confluence.plugin.BundledClassLoadingPluginLoader
All Implemented Interfaces:
com.atlassian.plugin.loaders.PluginLoader

public class BundledClassLoadingPluginLoader
extends com.atlassian.plugin.loaders.ClassLoadingPluginLoader


Constructor Summary
BundledClassLoadingPluginLoader(BootstrapManager bootstrapManager, com.atlassian.plugin.loaders.PluginFactory pluginFactory)
           
 
Method Summary
protected  com.atlassian.plugin.Plugin deployPluginFromUnit(com.atlassian.plugin.loaders.classloading.DeploymentUnit deploymentUnit, com.atlassian.plugin.ModuleDescriptorFactory moduleDescriptorFactory)
          Override the standard plugin loading in order to set isDeleteable = false because we don't ever want to delete a bundled plugin, evern though we do want to dynamically replace them.
 
Methods inherited from class com.atlassian.plugin.loaders.ClassLoadingPluginLoader
addFoundPlugins, loadAllPlugins, removePlugin, shutDown, supportsAddition, supportsRemoval
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BundledClassLoadingPluginLoader

public BundledClassLoadingPluginLoader(BootstrapManager bootstrapManager,
                                       com.atlassian.plugin.loaders.PluginFactory pluginFactory)
Method Detail

deployPluginFromUnit

protected com.atlassian.plugin.Plugin deployPluginFromUnit(com.atlassian.plugin.loaders.classloading.DeploymentUnit deploymentUnit,
                                                           com.atlassian.plugin.ModuleDescriptorFactory moduleDescriptorFactory)
                                                    throws com.atlassian.plugin.PluginParseException
Override the standard plugin loading in order to set isDeleteable = false because we don't ever want to delete a bundled plugin, evern though we do want to dynamically replace them.

Overrides:
deployPluginFromUnit in class com.atlassian.plugin.loaders.ClassLoadingPluginLoader
Parameters:
deploymentUnit -
moduleDescriptorFactory -
Returns:
The new DynamicPlugin with isDeleteable set to false;
Throws:
com.atlassian.plugin.PluginParseException


Copyright © 2003-2008 Atlassian Pty Ltd. All Rights Reserved.