@Deprecated public class

DefaultPluginManager

extends DefaultPluginManager
implements PluginManager
java.lang.Object
   ↳ com.atlassian.plugin.manager.DefaultPluginManager
     ↳ com.atlassian.plugin.DefaultPluginManager

This class is deprecated.
Since 2.2.0, use DefaultPluginManager instead

Class Overview

This implementation delegates the initiation and classloading of plugins to a list of 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 installPlugin(PluginArtifact) explicitly stores the plugin via a PluginInstaller, whereas #uninstall(String) relies on the underlying PluginLoader to remove the plugin if necessary.

Summary

[Expand]
Inherited Constants
From interface com.atlassian.plugin.PluginManager
Public Constructors
DefaultPluginManager(PluginPersistentStateStore store, List<PluginLoader> pluginLoaders, ModuleDescriptorFactory moduleDescriptorFactory, PluginEventManager pluginEventManager)
[Expand]
Inherited Methods
From class com.atlassian.plugin.manager.DefaultPluginManager
From class java.lang.Object
From interface com.atlassian.plugin.PluginAccessor
From interface com.atlassian.plugin.PluginController
From interface com.atlassian.plugin.PluginSystemLifecycle

Public Constructors

public DefaultPluginManager (PluginPersistentStateStore store, List<PluginLoader> pluginLoaders, ModuleDescriptorFactory moduleDescriptorFactory, PluginEventManager pluginEventManager)