com.atlassian.jira.plugin
Class JiraPluginManager

java.lang.Object
  extended by com.atlassian.plugin.manager.DefaultPluginManager
      extended by com.atlassian.jira.plugin.JiraPluginManager
All Implemented Interfaces:
Startable, com.atlassian.plugin.PluginAccessor, com.atlassian.plugin.PluginController, com.atlassian.plugin.PluginSystemLifecycle

public class JiraPluginManager
extends com.atlassian.plugin.manager.DefaultPluginManager
implements Startable


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.plugin.PluginAccessor
com.atlassian.plugin.PluginAccessor.Descriptor
 
Field Summary
static String PLUGIN_LICENSE_REGISTRY
           
static String PLUGIN_LICENSE_TYPE_STORE
           
 
Constructor Summary
JiraPluginManager(com.atlassian.plugin.manager.PluginPersistentStateStore store, PluginLoaderFactory pluginLoaderFactory, com.atlassian.plugin.ModuleDescriptorFactory moduleDescriptorFactory, PluginVersionStore pluginVersionStore, com.atlassian.plugin.event.PluginEventManager pluginEventManager, PluginPath pluginPath)
           
 
Method Summary
 void disablePlugin(String key)
           
 void disablePluginModule(String completeKey)
           
 void disablePluginWithoutPersisting(String key)
           
 void enablePlugin(String key)
           
 void enablePluginModule(String completeKey)
           
 void start()
          This method wil be called after the plugin system is fully initialised and all components added to the dependency injection framework.
 
Methods inherited from class com.atlassian.plugin.manager.DefaultPluginManager
addPlugin, addPlugins, disablePluginInternal, disablePluginModuleState, disablePluginState, enablePluginModuleState, 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, notifyModuleDisabled, notifyModuleEnabled, notifyPluginDisabled, notifyPluginEnabled, notifyUninstallPlugin, onPluginRefresh, removeStateFromStore, scanForNewPlugins, setDescriptorParserFactory, setPluginInstaller, shutdown, uninstall, unloadPlugin, updatePlugin, warmRestart
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PLUGIN_LICENSE_REGISTRY

public static final String PLUGIN_LICENSE_REGISTRY
See Also:
Constant Field Values

PLUGIN_LICENSE_TYPE_STORE

public static final String PLUGIN_LICENSE_TYPE_STORE
See Also:
Constant Field Values
Constructor Detail

JiraPluginManager

public JiraPluginManager(com.atlassian.plugin.manager.PluginPersistentStateStore store,
                         PluginLoaderFactory pluginLoaderFactory,
                         com.atlassian.plugin.ModuleDescriptorFactory moduleDescriptorFactory,
                         PluginVersionStore pluginVersionStore,
                         com.atlassian.plugin.event.PluginEventManager pluginEventManager,
                         PluginPath pluginPath)
Method Detail

start

public void start()
           throws com.atlassian.plugin.PluginException
Description copied from interface: Startable
This method wil be called after the plugin system is fully initialised and all components added to the dependency injection framework.

Specified by:
start in interface Startable
Throws:
com.atlassian.plugin.PluginException

enablePlugin

public void enablePlugin(String key)
Specified by:
enablePlugin in interface com.atlassian.plugin.PluginController
Overrides:
enablePlugin in class com.atlassian.plugin.manager.DefaultPluginManager

disablePlugin

public void disablePlugin(String key)
Specified by:
disablePlugin in interface com.atlassian.plugin.PluginController
Overrides:
disablePlugin in class com.atlassian.plugin.manager.DefaultPluginManager

disablePluginWithoutPersisting

public void disablePluginWithoutPersisting(String key)
Specified by:
disablePluginWithoutPersisting in interface com.atlassian.plugin.PluginController
Overrides:
disablePluginWithoutPersisting in class com.atlassian.plugin.manager.DefaultPluginManager

disablePluginModule

public void disablePluginModule(String completeKey)
Specified by:
disablePluginModule in interface com.atlassian.plugin.PluginController
Overrides:
disablePluginModule in class com.atlassian.plugin.manager.DefaultPluginManager

enablePluginModule

public void enablePluginModule(String completeKey)
Specified by:
enablePluginModule in interface com.atlassian.plugin.PluginController
Overrides:
enablePluginModule in class com.atlassian.plugin.manager.DefaultPluginManager


Copyright © 2002-2009 Atlassian. All Rights Reserved.