public class CrowdPluginManager
extends com.atlassian.plugin.manager.DefaultPluginManager
implements com.atlassian.plugin.PluginController, com.atlassian.plugin.PluginAccessor, org.springframework.beans.factory.DisposableBean
| 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 |
destroy() |
void |
init() |
void |
onApplicationStartedEvent(com.atlassian.config.lifecycle.events.ApplicationStartedEvent event)
Initialised the plugin system on receipt of a
ApplicationStartedEvent |
addDynamicModule, addPlugin, addPlugins, disablePlugin, disablePluginInternal, disablePluginModule, disablePluginModuleState, disablePluginState, disablePluginWithoutPersisting, earlyStartup, enablePlugin, enablePluginModule, enablePluginModuleState, enablePlugins, enablePluginState, getActiveModuleDescriptorsByClass, getClassLoader, getDynamicModules, getDynamicPluginClass, getDynamicResourceAsStream, getEnabledModuleDescriptorsByClass, getEnabledModuleDescriptorsByClass, getEnabledModuleDescriptorsByType, getEnabledModulesByClass, getEnabledModulesByClassAndDescriptor, getEnabledModulesByClassAndDescriptor, getEnabledPlugin, getEnabledPluginModule, getEnabledPlugins, getLateStartupEnableRetryProperty, getMinimumPluginVersionsFileProperty, getModuleDescriptors, getModules, getPlugin, getPluginModule, getPluginResourceAsStream, getPluginRestartState, getPlugins, getPlugins, getStartupOverrideFileProperty, getState, getStore, installPlugin, installPlugins, isPluginEnabled, isPluginModuleEnabled, isSystemPlugin, lateStartup, newBuilder, notifyModuleDisabled, notifyModuleEnabled, notifyPluginDisabled, notifyPluginEnabled, notifyUninstallPlugin, onPluginContainerUnavailable, onPluginModuleAvailable, onPluginModuleUnavailable, onPluginRefresh, onUpdateRequiresRestartState, removeDynamicModule, removeStateFromStore, revertRestartRequiredChange, scanForNewPlugins, setPluginInstaller, shutdown, uninstall, uninstallNoEvent, uninstallPlugins, unloadPlugin, updatePlugin, warmRestartclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddDynamicModule, disablePlugin, disablePluginModule, disablePluginWithoutPersisting, enablePlugin, enablePluginModule, enablePlugins, installPlugin, installPlugins, removeDynamicModule, revertRestartRequiredChange, scanForNewPlugins, uninstall, uninstallPluginsgetActiveModuleDescriptorsByClass, getClassLoader, getDynamicModules, 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)
ApplicationStartedEvent@PreDestroy public void destroy() throws Exception
destroy in interface org.springframework.beans.factory.DisposableBeanExceptionCopyright © 2019 Atlassian. All rights reserved.