Package com.atlassian.confluence.plugin
Class DirectoryScanningPluginFactory
- java.lang.Object
-
- 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
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 Object
getObject()
Class
getObjectType()
boolean
isSingleton()
-
-
-
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 interfaceorg.springframework.beans.factory.FactoryBean
-
getObjectType
public Class getObjectType()
- Specified by:
getObjectType
in interfaceorg.springframework.beans.factory.FactoryBean
-
isSingleton
public boolean isSingleton()
- Specified by:
isSingleton
in interfaceorg.springframework.beans.factory.FactoryBean
-
-