Package com.atlassian.confluence.setup
Class SetupPluginManager
- java.lang.Object
-
- com.atlassian.plugin.manager.DefaultPluginManager
-
- com.atlassian.confluence.plugin.ConfluencePluginManager
-
- com.atlassian.confluence.setup.SetupPluginManager
-
- All Implemented Interfaces:
com.atlassian.plugin.PluginAccessor
,com.atlassian.plugin.PluginController
,com.atlassian.plugin.PluginSystemLifecycle
,com.atlassian.plugin.SplitStartupPluginSystemLifecycle
,EventListener
,org.springframework.beans.factory.Aware
,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.
-
-
Constructor Summary
Constructors Constructor Description SetupPluginManager(com.atlassian.plugin.PluginRegistry.ReadWrite pluginRegistry, com.atlassian.plugin.PluginAccessor pluginAccessor, 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, TenantRegistry tenantRegistry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
init()
protected boolean
isSetupPluginManager()
Overridden inSetupPluginManager
to return {@link true}.void
shutdown()
-
Methods inherited from class com.atlassian.confluence.plugin.ConfluencePluginManager
earlyStartup, lateStartup, onApplicationEvent, setApplicationContext
-
Methods inherited from class com.atlassian.plugin.manager.DefaultPluginManager
addDynamicModule, addPlugins, disablePlugin, disablePluginInternal, disablePluginModule, disablePluginWithoutPersisting, enablePluginModule, enablePlugins, getClassLoader, getDynamicModules, getDynamicPluginClass, getDynamicResourceAsStream, getEnabledModuleDescriptorsByClass, getEnabledModulesByClass, getEnabledPlugin, getEnabledPluginModule, getEnabledPlugins, getLateStartupEnableRetryProperty, getMinimumPluginVersionsFileProperty, getModuleDescriptors, getModules, getPlugin, getPluginModule, getPluginRestartState, getPlugins, getPlugins, getStartupOverrideFileProperty, getState, installPlugins, isPluginEnabled, isPluginModuleEnabled, isSystemPlugin, newBuilder, notifyModuleDisabled, notifyModuleEnabled, notifyUninstallPlugin, onPluginContainerUnavailable, onPluginModuleAvailable, onPluginModuleUnavailable, onPluginRefresh, onUpdateRequiresRestartState, removeDynamicModule, removeStateFromStore, revertRestartRequiredChange, scanForNewPlugins, setPluginInstaller, uninstall, uninstallNoEvent, uninstallPlugins, unloadPlugin, updatePlugin, warmRestart
-
-
-
-
Constructor Detail
-
SetupPluginManager
public SetupPluginManager(com.atlassian.plugin.PluginRegistry.ReadWrite pluginRegistry, com.atlassian.plugin.PluginAccessor pluginAccessor, 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, TenantRegistry tenantRegistry)
-
-
Method Detail
-
isSetupPluginManager
protected boolean isSetupPluginManager()
Description copied from class:ConfluencePluginManager
Overridden inSetupPluginManager
to return {@link true}.- Overrides:
isSetupPluginManager
in classConfluencePluginManager
-
init
public void init() throws com.atlassian.plugin.PluginParseException
- Specified by:
init
in interfacecom.atlassian.plugin.PluginSystemLifecycle
- Overrides:
init
in classConfluencePluginManager
- Throws:
com.atlassian.plugin.PluginParseException
-
shutdown
public void shutdown()
- Specified by:
shutdown
in interfacecom.atlassian.plugin.PluginSystemLifecycle
- Overrides:
shutdown
in classcom.atlassian.plugin.manager.DefaultPluginManager
-
-