|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.plugin.DefaultPluginManager com.atlassian.confluence.plugin.ConfluencePluginManager
public class ConfluencePluginManager
Extension of DefaultPluginManager
which listens for plugin events fired on other nodes.
Field Summary |
---|
Fields inherited from interface com.atlassian.plugin.PluginManager |
---|
PLUGIN_DESCRIPTOR_FILENAME |
Constructor Summary | |
---|---|
ConfluencePluginManager(com.atlassian.plugin.PluginStateStore pluginStateStore,
java.util.List pluginLoaders,
com.atlassian.plugin.ModuleDescriptorFactory moduleDescriptorFactory,
BootstrapManager bootstrapManager,
boolean extractBundledPlugins)
If you pass a String in the list of pluginLoaders, it will automagically be converted into a SinglePluginLoader for a file with that string's name. |
Method Summary | |
---|---|
protected java.util.List |
getContentsOfBundledPluginsDir()
|
protected com.atlassian.plugin.PluginStateStore |
getLocalPluginStateStore()
|
protected com.atlassian.plugin.PluginManagerState |
getState()
|
void |
init()
|
protected void |
notifyModuleDisabled(com.atlassian.plugin.ModuleDescriptor module)
|
protected void |
notifyModuleEnabled(com.atlassian.plugin.ModuleDescriptor module)
|
protected void |
notifyPluginDisabled(com.atlassian.plugin.Plugin plugin)
|
protected void |
notifyPluginEnabled(com.atlassian.plugin.Plugin plugin)
|
protected void |
notifyUninstallPlugin(com.atlassian.plugin.Plugin plugin)
|
void |
onApplicationEvent(org.springframework.context.ApplicationEvent event)
Initialised the plugin system on receipt of a ConfluenceReadyEvent and update local plugin state
on clustered plugin events |
void |
setUberClassLoader(DynamicMultiDelegationClassLoader uberClassLoader)
|
Methods inherited from class com.atlassian.plugin.DefaultPluginManager |
---|
addPlugin, disablePlugin, disablePluginModule, disablePluginModuleState, disablePluginState, enablePlugin, enablePluginModule, enablePluginModuleState, enablePluginState, getDynamicResourceAsStream, getEnabledModuleDescriptorsByClass, getEnabledModuleDescriptorsByType, getEnabledModulesByClass, getEnabledModulesByClassAndDescriptor, getEnabledModulesByClassAndDescriptor, getEnabledPlugin, getEnabledPluginModule, getEnabledPlugins, getEnabledStateAwareModuleKeys, getModuleDescriptors, getModules, getPlugin, getPluginModule, getPluginResourceAsStream, getPlugins, getPlugins, getStore, installPlugin, isPluginEnabled, isPluginModuleEnabled, isSystemPlugin, removeStateFromStore, scanForNewPlugins, setDescriptorParserFactory, setPluginInstaller, uninstall, unloadPlugin, updatePlugin |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConfluencePluginManager(com.atlassian.plugin.PluginStateStore pluginStateStore, java.util.List pluginLoaders, com.atlassian.plugin.ModuleDescriptorFactory moduleDescriptorFactory, BootstrapManager bootstrapManager, boolean extractBundledPlugins)
Method Detail |
---|
protected com.atlassian.plugin.PluginStateStore getLocalPluginStateStore()
protected com.atlassian.plugin.PluginManagerState getState()
getState
in class com.atlassian.plugin.DefaultPluginManager
protected void notifyPluginEnabled(com.atlassian.plugin.Plugin plugin)
notifyPluginEnabled
in class com.atlassian.plugin.DefaultPluginManager
protected void notifyModuleDisabled(com.atlassian.plugin.ModuleDescriptor module)
notifyModuleDisabled
in class com.atlassian.plugin.DefaultPluginManager
protected void notifyPluginDisabled(com.atlassian.plugin.Plugin plugin)
notifyPluginDisabled
in class com.atlassian.plugin.DefaultPluginManager
protected void notifyModuleEnabled(com.atlassian.plugin.ModuleDescriptor module)
notifyModuleEnabled
in class com.atlassian.plugin.DefaultPluginManager
protected void notifyUninstallPlugin(com.atlassian.plugin.Plugin plugin)
notifyUninstallPlugin
in class com.atlassian.plugin.DefaultPluginManager
public void init() throws com.atlassian.plugin.PluginParseException
init
in interface com.atlassian.plugin.PluginManager
init
in class com.atlassian.plugin.DefaultPluginManager
com.atlassian.plugin.PluginParseException
public void onApplicationEvent(org.springframework.context.ApplicationEvent event)
ConfluenceReadyEvent
and update local plugin state
on clustered plugin events
onApplicationEvent
in interface org.springframework.context.ApplicationListener
event
- protected java.util.List getContentsOfBundledPluginsDir()
public void setUberClassLoader(DynamicMultiDelegationClassLoader uberClassLoader)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |