Class DirectoryScanningPluginFactory

java.lang.Object
com.atlassian.bamboo.plugin.loaders.DirectoryScanningPluginFactory
All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean

public class DirectoryScanningPluginFactory extends Object implements org.springframework.beans.factory.FactoryBean
  • Constructor Details

    • DirectoryScanningPluginFactory

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

    • 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