com.atlassian.plugin.loaders
Class DirectoryPluginLoader
java.lang.Object
com.atlassian.plugin.loaders.ScanningPluginLoader
com.atlassian.plugin.loaders.DirectoryPluginLoader
- All Implemented Interfaces:
- DiscardablePluginLoader, DynamicPluginLoader, PluginLoader
public class DirectoryPluginLoader
- extends ScanningPluginLoader
A plugin loader to load plugins from a directory on disk. A DirectoryScanner is used to locate plugin artifacts
and determine if they need to be redeployed or not.
| Methods inherited from class com.atlassian.plugin.loaders.ScanningPluginLoader |
canLoad, deployPluginFromUnit, discardPlugin, isDynamicPluginLoader, loadAllPlugins, loadFoundPlugins, onShutdown, postProcess, removePlugin, shutDown, supportsAddition, supportsRemoval |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DirectoryPluginLoader
public DirectoryPluginLoader(File path,
List<PluginFactory> pluginFactories,
PluginEventManager pluginEventManager)
- Constructs a loader for a particular directory and set of deployers
- Parameters:
path - The directory containing the pluginspluginFactories - The deployers that will handle turning an artifact into a pluginpluginEventManager - The event manager, used for listening for shutdown events- Since:
- 2.0.0
DirectoryPluginLoader
public DirectoryPluginLoader(File path,
List<PluginFactory> pluginFactories,
PluginArtifactFactory pluginArtifactFactory,
PluginEventManager pluginEventManager)
- Constructs a loader for a particular directory and set of deployers
- Parameters:
path - The directory containing the pluginspluginFactories - The deployers that will handle turning an artifact into a pluginpluginArtifactFactory - The plugin artifact factorypluginEventManager - The event manager, used for listening for shutdown events- Since:
- 2.1.0
Copyright © 2015 Atlassian. All rights reserved.