Package com.atlassian.confluence.plugin
Class PluginLoadersFactory
- java.lang.Object
-
- com.atlassian.confluence.plugin.PluginLoadersFactory
-
public class PluginLoadersFactory extends 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 bypluginModuleXmlLocations
, and pre-constructed loaders can be provided through theconfiguredLoaders
collection. In addition, theEXTRA_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 Modifier and Type Field Description static String
EXTRA_BUNDLED_PLUGINS_SYSTEM_PROPERTY
-
Constructor Summary
Constructors Constructor Description PluginLoadersFactory(Collection<String> pluginModuleXmlLocations, Collection<com.atlassian.plugin.loaders.PluginLoader> configuredLoaders, ExtraBundledPluginsFactory extraBundledPluginsFactory)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<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 Detail
-
EXTRA_BUNDLED_PLUGINS_SYSTEM_PROPERTY
public static final String EXTRA_BUNDLED_PLUGINS_SYSTEM_PROPERTY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PluginLoadersFactory
public PluginLoadersFactory(Collection<String> pluginModuleXmlLocations, Collection<com.atlassian.plugin.loaders.PluginLoader> configuredLoaders, ExtraBundledPluginsFactory extraBundledPluginsFactory)
-
-
Method Detail
-
getLoaders
public static Iterable<com.atlassian.plugin.loaders.PluginLoader> getLoaders(Collection<String> pluginModuleXmlLocations, Collection<com.atlassian.plugin.loaders.PluginLoader> configuredLoaders, ExtraBundledPluginsFactory extraBundledPluginsFactory)
-
get
public List<com.atlassian.plugin.loaders.PluginLoader> get()
-
-