Class DirectoryScanningPluginFactory

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

    public class DirectoryScanningPluginFactory
    extends Object
    implements org.springframework.beans.factory.FactoryBean
    The 'DirectoryScanningPluginFactory' generates a directory scanning pluginLoader which provides the functionality to load plugin jars from a custom defined path.

    This pluginLoader scans the absolute path defined by the system-property 'atlassian.confluence.plugin.scan.directory' and loads the plugin jars available in that directory on startup.

    • Constructor Detail

      • DirectoryScanningPluginFactory

        public DirectoryScanningPluginFactory​(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