com.atlassian.confluence.plugin
Class DirectoryScanningPluginFactory

java.lang.Object
  extended by com.atlassian.confluence.plugin.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 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

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 © 2003-2013 Atlassian. All Rights Reserved.