com.atlassian.confluence.plugin
Class PluginLoadersFactory
java.lang.Object
com.atlassian.confluence.plugin.PluginLoadersFactory
public class PluginLoadersFactory
- extends java.lang.Object
Responsible for initialising all the plugin loaders Confluence needs to start the plugin system. Loaders will be
created for each plugin config file provided by pluginModuleXmlLocations
, and pre-constructed loaders
can be provided through the configuredLoaders
collection. In addition, the
EXTRA_BUNDLED_PLUGINS_SYSTEM_PROPERTY
system property can be used to provide a comma-separated list of extra
locations to load bundled plugins from.
Constructor Summary |
PluginLoadersFactory(java.util.Collection<java.lang.String> pluginModuleXmlLocations,
java.util.Collection<com.atlassian.plugin.loaders.PluginLoader> configuredLoaders,
ExtraBundledPluginsFactory extraBundledPluginsFactory)
|
Method Summary |
java.util.List<com.atlassian.plugin.loaders.PluginLoader> |
get()
|
static java.lang.Iterable<com.atlassian.plugin.loaders.PluginLoader> |
getLoaders(java.util.Collection<java.lang.String> pluginModuleXmlLocations,
java.util.Collection<com.atlassian.plugin.loaders.PluginLoader> configuredLoaders,
ExtraBundledPluginsFactory extraBundledPluginsFactory)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EXTRA_BUNDLED_PLUGINS_SYSTEM_PROPERTY
public static final java.lang.String EXTRA_BUNDLED_PLUGINS_SYSTEM_PROPERTY
- See Also:
- Constant Field Values
PluginLoadersFactory
public PluginLoadersFactory(java.util.Collection<java.lang.String> pluginModuleXmlLocations,
java.util.Collection<com.atlassian.plugin.loaders.PluginLoader> configuredLoaders,
ExtraBundledPluginsFactory extraBundledPluginsFactory)
getLoaders
public static java.lang.Iterable<com.atlassian.plugin.loaders.PluginLoader> getLoaders(java.util.Collection<java.lang.String> pluginModuleXmlLocations,
java.util.Collection<com.atlassian.plugin.loaders.PluginLoader> configuredLoaders,
ExtraBundledPluginsFactory extraBundledPluginsFactory)
get
public java.util.List<com.atlassian.plugin.loaders.PluginLoader> get()
Copyright © 2003-2013 Atlassian. All Rights Reserved.