Package com.atlassian.confluence.plugin
Class PluginLoadersFactory
java.lang.Object
com.atlassian.confluence.plugin.PluginLoadersFactory
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.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPluginLoadersFactory
(Collection<String> pluginModuleXmlLocations, Collection<com.atlassian.plugin.loaders.PluginLoader> configuredLoaders, ExtraBundledPluginsFactory extraBundledPluginsFactory) -
Method Summary
Modifier and TypeMethodDescriptionList<com.atlassian.plugin.loaders.PluginLoader>
get()
static Iterable<com.atlassian.plugin.loaders.PluginLoader>
getLoaders
(Collection<String> pluginModuleXmlLocations, Collection<com.atlassian.plugin.loaders.PluginLoader> configuredLoaders, ExtraBundledPluginsFactory extraBundledPluginsFactory)
-
Field Details
-
EXTRA_BUNDLED_PLUGINS_SYSTEM_PROPERTY
- See Also:
-
-
Constructor Details
-
PluginLoadersFactory
public PluginLoadersFactory(Collection<String> pluginModuleXmlLocations, Collection<com.atlassian.plugin.loaders.PluginLoader> configuredLoaders, ExtraBundledPluginsFactory extraBundledPluginsFactory)
-
-
Method Details
-
getLoaders
public static Iterable<com.atlassian.plugin.loaders.PluginLoader> getLoaders(Collection<String> pluginModuleXmlLocations, Collection<com.atlassian.plugin.loaders.PluginLoader> configuredLoaders, ExtraBundledPluginsFactory extraBundledPluginsFactory) -
get
-