public class

DirectoryPluginLoader

extends ScanningPluginLoader
java.lang.Object
   ↳ com.atlassian.plugin.loaders.ScanningPluginLoader
     ↳ com.atlassian.plugin.loaders.DirectoryPluginLoader
Known Direct Subclasses

Class Overview

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.

Summary

[Expand]
Inherited Fields
From class com.atlassian.plugin.loaders.ScanningPluginLoader
Public Constructors
DirectoryPluginLoader(File path, List<PluginFactory> pluginFactories, PluginEventManager pluginEventManager)
Constructs a loader for a particular directory and set of deployers
DirectoryPluginLoader(File path, List<PluginFactory> pluginFactories, PluginArtifactFactory pluginArtifactFactory, PluginEventManager pluginEventManager)
Constructs a loader for a particular directory and set of deployers
[Expand]
Inherited Methods
From class com.atlassian.plugin.loaders.ScanningPluginLoader
From class java.lang.Object
From interface com.atlassian.plugin.loaders.DynamicPluginLoader
From interface com.atlassian.plugin.loaders.PluginLoader

Public Constructors

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 plugins
pluginFactories The deployers that will handle turning an artifact into a plugin
pluginEventManager The event manager, used for listening for shutdown events

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 plugins
pluginFactories The deployers that will handle turning an artifact into a plugin
pluginArtifactFactory The plugin artifact factory
pluginEventManager The event manager, used for listening for shutdown events