Package com.atlassian.confluence.plugin
Class DirectoryScanningPluginFactory
java.lang.Object
com.atlassian.confluence.plugin.DirectoryScanningPluginFactory
- All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean<com.atlassian.plugin.loaders.ScanningPluginLoader>
public class DirectoryScanningPluginFactory
extends Object
implements org.springframework.beans.factory.FactoryBean<com.atlassian.plugin.loaders.ScanningPluginLoader>
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.
-
Field Summary
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE
-
Constructor Summary
ConstructorsConstructorDescriptionDirectoryScanningPluginFactory
(List<com.atlassian.plugin.factories.PluginFactory> pluginFactories, com.atlassian.plugin.event.PluginEventManager eventManager) -
Method Summary
Modifier and TypeMethodDescriptioncom.atlassian.plugin.loaders.ScanningPluginLoader
boolean
-
Constructor Details
-
DirectoryScanningPluginFactory
public DirectoryScanningPluginFactory(List<com.atlassian.plugin.factories.PluginFactory> pluginFactories, com.atlassian.plugin.event.PluginEventManager eventManager)
-
-
Method Details
-
getObject
public com.atlassian.plugin.loaders.ScanningPluginLoader getObject()- Specified by:
getObject
in interfaceorg.springframework.beans.factory.FactoryBean<com.atlassian.plugin.loaders.ScanningPluginLoader>
-
getObjectType
- Specified by:
getObjectType
in interfaceorg.springframework.beans.factory.FactoryBean<com.atlassian.plugin.loaders.ScanningPluginLoader>
-
isSingleton
public boolean isSingleton()- Specified by:
isSingleton
in interfaceorg.springframework.beans.factory.FactoryBean<com.atlassian.plugin.loaders.ScanningPluginLoader>
-