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 Summary
Constructors Constructor Description DirectoryScanningPluginFactory(List<com.atlassian.plugin.factories.PluginFactory> pluginFactories, com.atlassian.plugin.event.PluginEventManager eventManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetObject()ClassgetObjectType()booleanisSingleton()
-
-
-
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:
getObjectin interfaceorg.springframework.beans.factory.FactoryBean- Returns:
- Object a
ScanningPluginLoaderwhich scans the directory represented by the value ofSystemProperty.DIRECTORY_SCANNING_PLUGIN_SCAN_DIRor null if the value isn't a readable directory.
-
getObjectType
public Class getObjectType()
- Specified by:
getObjectTypein interfaceorg.springframework.beans.factory.FactoryBean
-
isSingleton
public boolean isSingleton()
- Specified by:
isSingletonin interfaceorg.springframework.beans.factory.FactoryBean
-
-