DefaultPluginManager instead@Deprecated public class DefaultPluginManager extends DefaultPluginManager implements PluginManager
PluginLoaders and records the state of plugins in a PluginPersistentStateStore.
This class is responsible for enabling and disabling plugins and plugin modules and reflecting these
state changes in the PluginStateStore.
An interesting quirk in the design is that DefaultPluginManager.installPlugin(PluginArtifact) explicitly stores
the plugin via a PluginInstaller, whereas #uninstall(String) relies on the
underlying PluginLoader to remove the plugin if necessary.PluginAccessor.DescriptorPLUGIN_DESCRIPTOR_FILENAME| Constructor and Description |
|---|
DefaultPluginManager(PluginPersistentStateStore store,
List<PluginLoader> pluginLoaders,
ModuleDescriptorFactory moduleDescriptorFactory,
PluginEventManager pluginEventManager)
Deprecated.
|
addPlugin, addPlugins, disablePlugin, disablePluginInternal, disablePluginModule, disablePluginModuleState, disablePluginState, disablePluginWithoutPersisting, earlyStartup, 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, getState, getStore, init, installPlugin, installPlugins, isPluginEnabled, isPluginModuleEnabled, isSystemPlugin, lateStartup, notifyModuleDisabled, notifyModuleEnabled, notifyPluginDisabled, notifyPluginEnabled, notifyUninstallPlugin, onPluginContainerUnavailable, onPluginModuleAvailable, onPluginModuleUnavailable, onPluginRefresh, onUpdateRequiresRestartState, removeStateFromStore, revertRestartRequiredChange, scanForNewPlugins, setDescriptorParserFactory, setPluginInstaller, shutdown, uninstall, uninstallNoEvent, unloadPlugin, updatePlugin, warmRestartclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdisablePlugin, disablePluginModule, disablePluginWithoutPersisting, enablePlugin, enablePluginModule, enablePlugins, installPlugin, installPlugins, revertRestartRequiredChange, scanForNewPlugins, uninstallgetClassLoader, getDynamicPluginClass, getDynamicResourceAsStream, getEnabledModuleDescriptorsByClass, getEnabledModuleDescriptorsByClass, getEnabledModuleDescriptorsByType, getEnabledModulesByClass, getEnabledModulesByClassAndDescriptor, getEnabledModulesByClassAndDescriptor, getEnabledPlugin, getEnabledPluginModule, getEnabledPlugins, getModuleDescriptors, getModules, getPlugin, getPluginModule, getPluginResourceAsStream, getPluginRestartState, getPlugins, getPlugins, isPluginEnabled, isPluginModuleEnabled, isSystemPlugininit, shutdown, warmRestartpublic DefaultPluginManager(PluginPersistentStateStore store, List<PluginLoader> pluginLoaders, ModuleDescriptorFactory moduleDescriptorFactory, PluginEventManager pluginEventManager)
Copyright © 2014 Atlassian. All rights reserved.