public class CrowdPluginManager
extends com.atlassian.plugin.manager.DefaultPluginManager
implements com.atlassian.plugin.PluginController, com.atlassian.plugin.PluginAccessor
| Constructor and Description |
|---|
CrowdPluginManager(com.atlassian.plugin.manager.PluginPersistentStateStore pluginStateStore,
List pluginLoaders,
com.atlassian.plugin.ModuleDescriptorFactory moduleDescriptorFactory,
com.atlassian.plugin.event.PluginEventManager pluginEventManager,
PluginDirectoryLocator pluginDirectoryLocator,
com.atlassian.event.api.EventPublisher eventPublisher)
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.
|
| Modifier and Type | Method and Description |
|---|---|
void |
init() |
void |
onApplicationStartedEvent(com.atlassian.config.lifecycle.events.ApplicationStartedEvent event)
Initialised the plugin system on receipt of a
ApplicationStartedEvent |
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, getPlugins, getState, getStore, 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, warmRestartclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdisablePlugin, disablePluginModule, disablePluginWithoutPersisting, enablePlugin, enablePluginModule, enablePlugins, installPlugin, installPlugins, revertRestartRequiredChange, scanForNewPlugins, uninstallgetClassLoader, getDynamicPluginClass, getDynamicResourceAsStream, getEnabledModuleDescriptorsByClass, getEnabledModuleDescriptorsByClass, getEnabledModuleDescriptorsByType, getEnabledModulesByClass, getEnabledModulesByClassAndDescriptor, getEnabledModulesByClassAndDescriptor, getEnabledPlugin, getEnabledPluginModule, getEnabledPlugins, getModuleDescriptors, getModules, getPlugin, getPluginModule, getPluginResourceAsStream, getPluginRestartState, getPlugins, getPlugins, isPluginEnabled, isPluginModuleEnabled, isSystemPluginpublic CrowdPluginManager(com.atlassian.plugin.manager.PluginPersistentStateStore pluginStateStore,
List pluginLoaders,
com.atlassian.plugin.ModuleDescriptorFactory moduleDescriptorFactory,
com.atlassian.plugin.event.PluginEventManager pluginEventManager,
PluginDirectoryLocator pluginDirectoryLocator,
com.atlassian.event.api.EventPublisher eventPublisher)
public void init()
throws com.atlassian.plugin.PluginParseException
init in interface com.atlassian.plugin.PluginSystemLifecycleinit in class com.atlassian.plugin.manager.DefaultPluginManagercom.atlassian.plugin.PluginParseException@EventListener public void onApplicationStartedEvent(com.atlassian.config.lifecycle.events.ApplicationStartedEvent event)
ApplicationStartedEventevent - Copyright © 2016 Atlassian. All Rights Reserved.