1 package com.atlassian.plugin;
2
3 import com.atlassian.plugin.event.PluginEventManager;
4 import com.atlassian.plugin.loaders.PluginLoader;
5 import com.atlassian.plugin.manager.PluginPersistentStateStore;
6
7 import java.util.List;
8
9 /**
10 * This implementation delegates the initiation and classloading of plugins to a
11 * list of {@link PluginLoader}s and records the state of plugins in a {@link PluginPersistentStateStore}.
12 * <p/>
13 * This class is responsible for enabling and disabling plugins and plugin modules and reflecting these
14 * state changes in the PluginStateStore.
15 * <p/>
16 * An interesting quirk in the design is that {@link #installPlugin(PluginArtifact)} explicitly stores
17 * the plugin via a {@link PluginInstaller}, whereas {@link #uninstall(String)} relies on the
18 * underlying {@link PluginLoader} to remove the plugin if necessary.
19 *
20 * @deprecated Since 2.2.0, use {@link com.atlassian.plugin.manager.DefaultPluginManager} instead
21 */
22 @Deprecated
23 public class DefaultPluginManager extends com.atlassian.plugin.manager.DefaultPluginManager implements PluginManager
24 {
25 public DefaultPluginManager(final PluginPersistentStateStore store, final List<PluginLoader> pluginLoaders, final ModuleDescriptorFactory moduleDescriptorFactory, final PluginEventManager pluginEventManager)
26 {
27 super(store, pluginLoaders, moduleDescriptorFactory, pluginEventManager);
28 }
29
30 }