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, java.util.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, java.util.List<java.lang.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.
 void shutdown()
           
 
Methods inherited from class com.atlassian.confluence.plugin.ConfluencePluginManager
addPlugins, getLocalPluginStateStore, getState, notifyModuleDisabled, notifyModuleEnabled, notifyPluginDisabled, notifyPluginEnabled, notifyUninstallPlugin, onApplicationEvent, onUpdateRequiresRestartState, setApplicationContext, updatePlugin
 
Methods inherited from class com.atlassian.plugin.manager.DefaultPluginManager
addPlugin, 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, 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
warmRestart
 

Constructor Detail

SetupPluginManager

public SetupPluginManager(com.atlassian.plugin.manager.PluginPersistentStateStore pluginStateStore,
                          java.util.List<java.lang.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

shutdown

public void shutdown()
Specified by:
shutdown in interface com.atlassian.plugin.PluginSystemLifecycle
Overrides:
shutdown in class com.atlassian.plugin.manager.DefaultPluginManager


Copyright © 2003-2014 Atlassian. All Rights Reserved.