com.atlassian.confluence.plugin
Class PluginLoadersFactory

java.lang.Object
  extended by 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 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
static String EXTRA_BUNDLED_PLUGINS_SYSTEM_PROPERTY
           
 
Constructor Summary
PluginLoadersFactory(Collection<String> pluginModuleXmlLocations, Collection<com.atlassian.plugin.loaders.PluginLoader> configuredLoaders, ExtraBundledPluginsFactory extraBundledPluginsFactory)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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()


Copyright © 2003–2015 Atlassian. All rights reserved.