com.atlassian.bamboo.plugin.loaders
Class DirectoryScanningPluginFactory

java.lang.Object
  extended by 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
DirectoryScanningPluginFactory(List<com.atlassian.plugin.factories.PluginFactory> pluginFactories, com.atlassian.plugin.event.PluginEventManager eventManager)
           
 
Method Summary
 Object getObject()
          
 Class getObjectType()
           
 boolean isSingleton()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.