com.atlassian.confluence.plugin
Class BootstrapPluginManager

java.lang.Object
  extended by com.atlassian.plugin.manager.DefaultPluginManager
      extended by com.atlassian.plugin.DefaultPluginManager
          extended by com.atlassian.confluence.plugin.ConfluencePluginManager
              extended by com.atlassian.confluence.plugin.BootstrapPluginManager
All Implemented Interfaces:
com.atlassian.plugin.PluginAccessor, com.atlassian.plugin.PluginController, com.atlassian.plugin.PluginManager, com.atlassian.plugin.PluginSystemLifecycle, java.util.EventListener, org.springframework.context.ApplicationContextAware, org.springframework.context.ApplicationListener

public class BootstrapPluginManager
extends ConfluencePluginManager

Cut-down plugin manager for the bootstrapper, since it only need to load language packs.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.plugin.PluginAccessor
com.atlassian.plugin.PluginAccessor.Descriptor
 
Field Summary
 
Fields inherited from interface com.atlassian.plugin.PluginManager
PLUGIN_DESCRIPTOR_FILENAME
 
Constructor Summary
BootstrapPluginManager(com.atlassian.plugin.manager.PluginPersistentStateStore pluginStateStore, java.util.List<java.lang.Object> pluginLoaders, com.atlassian.plugin.ModuleDescriptorFactory moduleDescriptorFactory)
           
 
Method Summary
 void onApplicationEvent(org.springframework.context.ApplicationEvent event)
          The bootstrap plugin manager shouldn't register itself as the XWork object factory.
 
Methods inherited from class com.atlassian.confluence.plugin.ConfluencePluginManager
getLocalPluginStateStore, getState, init, notifyModuleDisabled, notifyModuleEnabled, notifyPluginDisabled, notifyPluginEnabled, notifyUninstallPlugin, setApplicationContext, setEventManager
 
Methods inherited from class com.atlassian.plugin.manager.DefaultPluginManager
addPlugin, addPlugins, disablePlugin, disablePluginModule, disablePluginModuleState, disablePluginState, enablePlugin, enablePluginModule, enablePluginModuleState, enablePluginState, getClassLoader, getDynamicPluginClass, getDynamicResourceAsStream, getEnabledModuleDescriptorsByClass, getEnabledModuleDescriptorsByClass, getEnabledModuleDescriptorsByType, getEnabledModulesByClass, getEnabledModulesByClassAndDescriptor, getEnabledModulesByClassAndDescriptor, getEnabledPlugin, getEnabledPluginModule, getEnabledPlugins, getModuleDescriptors, getModules, getPlugin, getPluginModule, getPluginResourceAsStream, getPluginRestartState, getPlugins, getPlugins, getStore, installPlugin, isPluginEnabled, isPluginModuleEnabled, isSystemPlugin, onPluginRefresh, removeStateFromStore, scanForNewPlugins, setDescriptorParserFactory, setPluginInstaller, shutdown, uninstall, unloadPlugin, updatePlugin
 
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, enablePlugin, enablePluginModule, installPlugin, 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, getPlugins, isPluginEnabled, isPluginModuleEnabled, isSystemPlugin
 
Methods inherited from interface com.atlassian.plugin.PluginSystemLifecycle
shutdown
 

Constructor Detail

BootstrapPluginManager

public BootstrapPluginManager(com.atlassian.plugin.manager.PluginPersistentStateStore pluginStateStore,
                              java.util.List<java.lang.Object> pluginLoaders,
                              com.atlassian.plugin.ModuleDescriptorFactory moduleDescriptorFactory)
Method Detail

onApplicationEvent

public void onApplicationEvent(org.springframework.context.ApplicationEvent event)
The bootstrap plugin manager shouldn't register itself as the XWork object factory. Ever.

Specified by:
onApplicationEvent in interface org.springframework.context.ApplicationListener
Overrides:
onApplicationEvent in class ConfluencePluginManager
Parameters:
event - the event being notified


Copyright © 2003-2009 Atlassian Pty Ltd. All Rights Reserved.