com.atlassian.confluence.setup
Class SetupPluginManager

java.lang.Object
  extended by com.atlassian.plugin.manager.DefaultPluginManager
      extended by com.atlassian.confluence.plugin.ConfluencePluginManager
          extended by com.atlassian.confluence.setup.SetupPluginManager
All Implemented Interfaces:
com.atlassian.plugin.PluginAccessor, com.atlassian.plugin.PluginController, com.atlassian.plugin.PluginManager, com.atlassian.plugin.PluginSystemLifecycle, EventListener, org.springframework.context.ApplicationContextAware, org.springframework.context.ApplicationListener

public class SetupPluginManager
extends ConfluencePluginManager

Cut-down plugin manager for the setup wizard, since it only need to load a limited number of plugins.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.plugin.PluginAccessor
com.atlassian.plugin.PluginAccessor.Descriptor
 
Field Summary
 
Fields inherited from interface com.atlassian.plugin.PluginManager
PLUGIN_DESCRIPTOR_FILENAME
 
Constructor Summary
SetupPluginManager(com.atlassian.plugin.manager.PluginPersistentStateStore pluginStateStore, List<Object> pluginLoaders, com.atlassian.plugin.ModuleDescriptorFactory moduleDescriptorFactory, com.atlassian.plugin.event.PluginEventManager pluginEventManager, com.atlassian.event.api.EventPublisher eventPublisher)
           
 
Method Summary
 void init()
          
protected  boolean isSetupPluginManager()
          Overridden in SetupPluginManager to return true.
 
Methods inherited from class com.atlassian.confluence.plugin.ConfluencePluginManager
getLocalPluginStateStore, getState, notifyModuleDisabled, notifyModuleEnabled, notifyPluginDisabled, notifyPluginEnabled, notifyUninstallPlugin, onApplicationEvent, onUpdateRequiresRestartState, setApplicationContext, updatePlugin
 
Methods inherited from class com.atlassian.plugin.manager.DefaultPluginManager
addPlugin, addPlugins, disablePlugin, disablePluginInternal, disablePluginModule, disablePluginModuleState, disablePluginState, disablePluginWithoutPersisting, enablePlugin, enablePluginModule, enablePluginModuleState, enablePlugins, enablePluginState, getClassLoader, getDynamicPluginClass, getDynamicResourceAsStream, getEnabledModuleDescriptorsByClass, getEnabledModuleDescriptorsByClass, getEnabledModuleDescriptorsByType, getEnabledModulesByClass, getEnabledModulesByClassAndDescriptor, getEnabledModulesByClassAndDescriptor, getEnabledPlugin, getEnabledPluginModule, getEnabledPlugins, getModuleDescriptors, getModules, getPlugin, getPluginModule, getPluginResourceAsStream, getPluginRestartState, getPlugins, getPlugins, getStore, installPlugin, installPlugins, isPluginEnabled, isPluginModuleEnabled, isSystemPlugin, onPluginContainerUnavailable, onPluginModuleAvailable, onPluginModuleUnavailable, onPluginRefresh, removeStateFromStore, revertRestartRequiredChange, scanForNewPlugins, setDescriptorParserFactory, setPluginInstaller, shutdown, uninstall, uninstallNoEvent, unloadPlugin, warmRestart
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.plugin.PluginController
disablePlugin, disablePluginModule, disablePluginWithoutPersisting, enablePlugin, enablePluginModule, enablePlugins, installPlugin, installPlugins, revertRestartRequiredChange, scanForNewPlugins, uninstall
 
Methods inherited from interface com.atlassian.plugin.PluginAccessor
getClassLoader, getDynamicPluginClass, getDynamicResourceAsStream, getEnabledModuleDescriptorsByClass, getEnabledModuleDescriptorsByClass, getEnabledModuleDescriptorsByType, getEnabledModulesByClass, getEnabledModulesByClassAndDescriptor, getEnabledModulesByClassAndDescriptor, getEnabledPlugin, getEnabledPluginModule, getEnabledPlugins, getModuleDescriptors, getModules, getPlugin, getPluginModule, getPluginResourceAsStream, getPluginRestartState, getPlugins, getPlugins, isPluginEnabled, isPluginModuleEnabled, isSystemPlugin
 
Methods inherited from interface com.atlassian.plugin.PluginSystemLifecycle
shutdown, warmRestart
 

Constructor Detail

SetupPluginManager

public SetupPluginManager(com.atlassian.plugin.manager.PluginPersistentStateStore pluginStateStore,
                          List<Object> pluginLoaders,
                          com.atlassian.plugin.ModuleDescriptorFactory moduleDescriptorFactory,
                          com.atlassian.plugin.event.PluginEventManager pluginEventManager,
                          com.atlassian.event.api.EventPublisher eventPublisher)
Method Detail

isSetupPluginManager

protected boolean isSetupPluginManager()
Description copied from class: ConfluencePluginManager
Overridden in SetupPluginManager to return true.

Overrides:
isSetupPluginManager in class ConfluencePluginManager

init

public void init()
          throws com.atlassian.plugin.PluginParseException
Description copied from class: ConfluencePluginManager

Specified by:
init in interface com.atlassian.plugin.PluginSystemLifecycle
Overrides:
init in class ConfluencePluginManager
Throws:
com.atlassian.plugin.PluginParseException


Copyright © 2003-2011 Atlassian. All Rights Reserved.