public class PluginFactoryAndLoaderRegistrar extends Object
Constructor and Description |
---|
PluginFactoryAndLoaderRegistrar(com.atlassian.plugin.event.PluginEventManager pluginEventManager,
com.atlassian.plugin.osgi.container.OsgiContainerManager osgiContainerManager,
PluginPath pathFactory,
com.atlassian.plugin.servlet.ServletContextFactory servletContextFactory,
BuildUtilsInfo buildUtilsInfo,
JiraFailedPluginTracker jiraFailedPluginTracker,
JiraProperties jiraSystemProperties) |
Modifier and Type | Method and Description |
---|---|
List<com.atlassian.plugin.loaders.PluginLoader> |
getBootstrapSystemPluginLoaders() |
com.atlassian.plugin.loaders.PluginLoader |
getBundledPluginsLoader(List<com.atlassian.plugin.factories.PluginFactory> pluginFactories) |
com.atlassian.plugin.loaders.PluginLoader |
getCustomDirectoryPluginLoader(List<com.atlassian.plugin.factories.PluginFactory> pluginFactories) |
List<com.atlassian.plugin.factories.PluginFactory> |
getDefaultPluginFactories()
This allows every plugin found to be loaded
|
List<com.atlassian.plugin.factories.PluginFactory> |
getDefaultPluginFactories(List<Pattern> pluginWhitelist)
This allows only a select list of plugins found to be loaded
|
List<com.atlassian.plugin.loaders.PluginLoader> |
getDefaultSystemPluginLoaders() |
com.atlassian.plugin.loaders.PluginLoader |
getRosterFilePluginLoader(List<com.atlassian.plugin.factories.PluginFactory> pluginFactories) |
public PluginFactoryAndLoaderRegistrar(com.atlassian.plugin.event.PluginEventManager pluginEventManager, com.atlassian.plugin.osgi.container.OsgiContainerManager osgiContainerManager, PluginPath pathFactory, com.atlassian.plugin.servlet.ServletContextFactory servletContextFactory, BuildUtilsInfo buildUtilsInfo, JiraFailedPluginTracker jiraFailedPluginTracker, JiraProperties jiraSystemProperties)
public List<com.atlassian.plugin.factories.PluginFactory> getDefaultPluginFactories()
MasterPluginFactory
public List<com.atlassian.plugin.factories.PluginFactory> getDefaultPluginFactories(List<Pattern> pluginWhitelist)
pluginWhitelist
- the whitelist of plugins deployment units that are allowed to be loadedMasterPluginFactory
public com.atlassian.plugin.loaders.PluginLoader getBundledPluginsLoader(List<com.atlassian.plugin.factories.PluginFactory> pluginFactories)
public com.atlassian.plugin.loaders.PluginLoader getCustomDirectoryPluginLoader(List<com.atlassian.plugin.factories.PluginFactory> pluginFactories)
public com.atlassian.plugin.loaders.PluginLoader getRosterFilePluginLoader(List<com.atlassian.plugin.factories.PluginFactory> pluginFactories)
public List<com.atlassian.plugin.loaders.PluginLoader> getDefaultSystemPluginLoaders()
public List<com.atlassian.plugin.loaders.PluginLoader> getBootstrapSystemPluginLoaders()
Copyright © 2002-2021 Atlassian. All Rights Reserved.