com.atlassian.bamboo.plugin
Class BambooPluginManager

java.lang.Object
  extended by com.atlassian.plugin.manager.DefaultPluginManager
      extended by com.atlassian.bamboo.plugin.BambooPluginManager
All Implemented Interfaces:
com.atlassian.plugin.PluginAccessor, com.atlassian.plugin.PluginController, com.atlassian.plugin.PluginManager, com.atlassian.plugin.PluginSystemLifecycle

public class BambooPluginManager
extends com.atlassian.plugin.manager.DefaultPluginManager
implements com.atlassian.plugin.PluginManager


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.plugin.PluginAccessor
com.atlassian.plugin.PluginAccessor.Descriptor
 
Field Summary
protected  com.opensymphony.xwork.TextProvider textProvider
           
 
Fields inherited from interface com.atlassian.plugin.PluginManager
PLUGIN_DESCRIPTOR_FILENAME
 
Constructor Summary
BambooPluginManager(com.atlassian.plugin.manager.PluginPersistentStateStore pluginStateStore, java.util.List<com.atlassian.plugin.loaders.PluginLoader> extraPluginLoaders, com.atlassian.plugin.ModuleDescriptorFactory moduleDescriptorFactory, com.atlassian.plugin.event.PluginEventManager pluginEventManager, java.io.File pluginDirectory)
           
 
Method Summary
 java.util.Collection<com.atlassian.plugin.Plugin> getPlugins()
           
 void onPluginEnabled(com.atlassian.plugin.event.events.PluginEnabledEvent event)
           
 void onPluginSystemStarting(com.atlassian.plugin.event.events.PluginFrameworkStartingEvent event)
           
 void setTextProvider(com.opensymphony.xwork.TextProvider textProvider)
           
 
Methods inherited from class com.atlassian.plugin.manager.DefaultPluginManager
addPlugin, addPlugins, disablePlugin, disablePluginInternal, disablePluginModule, disablePluginModuleState, disablePluginState, disablePluginWithoutPersisting, enablePlugin, enablePluginModule, enablePluginModuleState, enablePlugins, enablePluginState, getClassLoader, getDynamicPluginClass, getDynamicResourceAsStream, getEnabledModuleDescriptorsByClass, getEnabledModuleDescriptorsByClass, getEnabledModuleDescriptorsByType, getEnabledModulesByClass, getEnabledModulesByClassAndDescriptor, getEnabledModulesByClassAndDescriptor, getEnabledPlugin, getEnabledPluginModule, getEnabledPlugins, getModuleDescriptors, getModules, getPlugin, getPluginModule, getPluginResourceAsStream, getPluginRestartState, getPlugins, getState, getStore, init, installPlugin, installPlugins, isPluginEnabled, isPluginModuleEnabled, isSystemPlugin, notifyModuleDisabled, notifyModuleEnabled, notifyPluginDisabled, notifyPluginEnabled, notifyUninstallPlugin, onPluginContainerUnavailable, onPluginModuleAvailable, onPluginModuleUnavailable, onPluginRefresh, onUpdateRequiresRestartState, removeStateFromStore, revertRestartRequiredChange, scanForNewPlugins, setDescriptorParserFactory, setPluginInstaller, shutdown, uninstall, uninstallNoEvent, unloadPlugin, updatePlugin, warmRestart
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.plugin.PluginController
disablePlugin, disablePluginModule, disablePluginWithoutPersisting, enablePlugin, enablePluginModule, enablePlugins, installPlugin, installPlugins, revertRestartRequiredChange, scanForNewPlugins, uninstall
 
Methods inherited from interface com.atlassian.plugin.PluginAccessor
getClassLoader, getDynamicPluginClass, getDynamicResourceAsStream, getEnabledModuleDescriptorsByClass, getEnabledModuleDescriptorsByClass, getEnabledModuleDescriptorsByType, getEnabledModulesByClass, getEnabledModulesByClassAndDescriptor, getEnabledModulesByClassAndDescriptor, getEnabledPlugin, getEnabledPluginModule, getEnabledPlugins, getModuleDescriptors, getModules, getPlugin, getPluginModule, getPluginResourceAsStream, getPluginRestartState, getPlugins, isPluginEnabled, isPluginModuleEnabled, isSystemPlugin
 
Methods inherited from interface com.atlassian.plugin.PluginSystemLifecycle
init, shutdown, warmRestart
 

Field Detail

textProvider

protected transient com.opensymphony.xwork.TextProvider textProvider
Constructor Detail

BambooPluginManager

public BambooPluginManager(com.atlassian.plugin.manager.PluginPersistentStateStore pluginStateStore,
                           java.util.List<com.atlassian.plugin.loaders.PluginLoader> extraPluginLoaders,
                           com.atlassian.plugin.ModuleDescriptorFactory moduleDescriptorFactory,
                           com.atlassian.plugin.event.PluginEventManager pluginEventManager,
                           java.io.File pluginDirectory)
Method Detail

getPlugins

public java.util.Collection<com.atlassian.plugin.Plugin> getPlugins()
Specified by:
getPlugins in interface com.atlassian.plugin.PluginAccessor
Overrides:
getPlugins in class com.atlassian.plugin.manager.DefaultPluginManager

onPluginEnabled

public void onPluginEnabled(com.atlassian.plugin.event.events.PluginEnabledEvent event)

onPluginSystemStarting

public void onPluginSystemStarting(com.atlassian.plugin.event.events.PluginFrameworkStartingEvent event)

setTextProvider

public void setTextProvider(com.opensymphony.xwork.TextProvider textProvider)


Copyright © 2011 Atlassian. All Rights Reserved.