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 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 Details

    • EXTRA_BUNDLED_PLUGINS_SYSTEM_PROPERTY

      public static final String EXTRA_BUNDLED_PLUGINS_SYSTEM_PROPERTY
      See Also:
  • Constructor Details

  • 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

      public List<com.atlassian.plugin.loaders.PluginLoader> get()