Class RosterFilePluginLoaderFactory

java.lang.Object
com.atlassian.confluence.plugin.RosterFilePluginLoaderFactory
All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean<com.atlassian.plugin.loaders.RosterFilePluginLoader>

public class RosterFilePluginLoaderFactory extends Object implements org.springframework.beans.factory.FactoryBean<com.atlassian.plugin.loaders.RosterFilePluginLoader>
The 'RosterFilePluginLoaderFactory' generates a RosterFilePluginLoader which is a PluginLoader that loads plugins according to a list in a provided roster file.

The roster file is given as an absolute path in the system-property 'atlassian.confluence.plugin.roster.file', and the plugins listed there are loaded on startup, and the contents of the file are reparsed and the plugins updated in response to DefaultPluginManager.scanForNewPlugins().

  • Constructor Details

    • RosterFilePluginLoaderFactory

      public RosterFilePluginLoaderFactory(List<com.atlassian.plugin.factories.PluginFactory> pluginFactories, com.atlassian.plugin.event.PluginEventManager eventManager)
  • Method Details

    • getObject

      public com.atlassian.plugin.loaders.RosterFilePluginLoader getObject()
      Specified by:
      getObject in interface org.springframework.beans.factory.FactoryBean<com.atlassian.plugin.loaders.RosterFilePluginLoader>
    • getObjectType

      public Class getObjectType()
      Specified by:
      getObjectType in interface org.springframework.beans.factory.FactoryBean<com.atlassian.plugin.loaders.RosterFilePluginLoader>
    • isSingleton

      public boolean isSingleton()
      Specified by:
      isSingleton in interface org.springframework.beans.factory.FactoryBean<com.atlassian.plugin.loaders.RosterFilePluginLoader>