Class 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, TenantRegistry tenantRegistry)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void init()  
      protected boolean isSetupPluginManager()
      Overridden in SetupPluginManager to return {@link true}.
      void shutdown()  
      • 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 interface com.atlassian.plugin.PluginAccessor

        getActiveModuleDescriptorsByClass, getModuleDescriptors, getModules, getPlugins
    • 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

      • 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