Class RosterFilePluginLoaderFactory

  • All Implemented Interfaces:
    org.springframework.beans.factory.FactoryBean

    public class RosterFilePluginLoaderFactory
    extends Object
    implements org.springframework.beans.factory.FactoryBean
    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 Detail

      • RosterFilePluginLoaderFactory

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

      • getObject

        public Object getObject()
        Specified by:
        getObject in interface org.springframework.beans.factory.FactoryBean
      • getObjectType

        public Class getObjectType()
        Specified by:
        getObjectType in interface org.springframework.beans.factory.FactoryBean
      • isSingleton

        public boolean isSingleton()
        Specified by:
        isSingleton in interface org.springframework.beans.factory.FactoryBean