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.
  • 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

    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)
     
    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 Type
    Method
    Description
    void
     
    protected boolean
    Overridden in SetupPluginManager to return {@link true}.
    void
     

    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 in SetupPluginManager to return {@link true}.
      Overrides:
      isSetupPluginManager in class ConfluencePluginManager
    • init

      public void init() throws com.atlassian.plugin.PluginParseException
      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