Class DirectoryScanningPluginFactory

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

    public class DirectoryScanningPluginFactory
    extends Object
    implements org.springframework.beans.factory.FactoryBean
    • 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
        Returns:
        Object a ScanningPluginLoader which scans the directory represented by the value of SystemProperty.DIRECTORY_SCANNING_PLUGIN_SCAN_DIR or null if the value isn't a readable directory.
      • 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