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
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 class com.atlassian.plugin.manager.DefaultPluginManager
com.atlassian.plugin.manager.DefaultPluginManager.Builder<T extends com.atlassian.plugin.manager.DefaultPluginManager.Builder<?>>
Nested classes/interfaces inherited from interface com.atlassian.plugin.PluginAccessor
com.atlassian.plugin.PluginAccessor.Descriptor
-
Constructor Summary
ConstructorsConstructorDescriptionSetupPluginManager
(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) 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) Deprecated, for removal: This API element is subject to removal in a future version.since 8.6 -
Method Summary
Modifier and TypeMethodDescriptionvoid
init()
protected boolean
Overridden inSetupPluginManager
to return {@link true}.void
shutdown()
Methods inherited from class com.atlassian.confluence.plugin.ConfluencePluginManager
earlyStartup, filterPluginLoaders, 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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.context.ApplicationListener
supportsAsyncExecution
Methods inherited from interface com.atlassian.plugin.PluginAccessor
getActiveModuleDescriptorsByClass, getModuleDescriptors, getModules, getPlugins
-
Constructor Details
-
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) - Since:
- 8.6
-
SetupPluginManager
@Deprecated(forRemoval=true) 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) Deprecated, for removal: This API element is subject to removal in a future version.since 8.6
-
-
Method Details
-
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
-