Package com.atlassian.plugin.loaders
Class RosterFilePluginLoader
java.lang.Object
com.atlassian.plugin.loaders.ScanningPluginLoader
com.atlassian.plugin.loaders.RosterFilePluginLoader
- All Implemented Interfaces:
DiscardablePluginLoader,DynamicPluginLoader,PluginLoader
A PluginLoader which manages plugins specified by a roster file.
- Since:
- v3.0.24
- See Also:
-
Field Summary
Fields inherited from class com.atlassian.plugin.loaders.ScanningPluginLoader
pluginArtifactFactory, pluginFactories, plugins, scanner -
Constructor Summary
ConstructorsConstructorDescriptionRosterFilePluginLoader(File rosterFile, List<PluginFactory> pluginFactories, PluginEventManager pluginEventManager) Create a RosterFilePluginLoader which loads a given roster file to locate plugins.RosterFilePluginLoader(File rosterFile, List<PluginFactory> pluginFactories, PluginArtifactFactory pluginArtifactFactory, PluginEventManager pluginEventManager) Create a RosterFilePluginLoader which loads a given roster file to locate plugins.RosterFilePluginLoader(File rosterFile, List<PluginFactory> pluginFactories, ReferenceMode referenceMode, PluginEventManager pluginEventManager) Create a RosterFilePluginLoader which loads a given roster file to locate plugins. -
Method Summary
Methods inherited from class com.atlassian.plugin.loaders.ScanningPluginLoader
canLoad, createModule, deployPluginFromUnit, discardPlugin, isDynamicPluginLoader, loadAllPlugins, loadFoundPlugins, onShutdown, postProcess, removePlugin, supportsAddition, supportsRemoval
-
Constructor Details
-
RosterFilePluginLoader
public RosterFilePluginLoader(File rosterFile, List<PluginFactory> pluginFactories, PluginEventManager pluginEventManager) Create a RosterFilePluginLoader which loads a given roster file to locate plugins.- Parameters:
rosterFile- the file to load the plugin roster from, as perRosterFileScanner.pluginFactories- the factories used to convert PluginArtifacts to Plugins.pluginEventManager- the event manager for the plugin system.
-
RosterFilePluginLoader
public RosterFilePluginLoader(File rosterFile, List<PluginFactory> pluginFactories, ReferenceMode referenceMode, PluginEventManager pluginEventManager) Create a RosterFilePluginLoader which loads a given roster file to locate plugins.- Parameters:
rosterFile- the file to load the plugin roster from, as perRosterFileScanner.pluginFactories- the factories used to convert PluginArtifacts to Plugins.referenceMode- the ReferenceMode to use for the implicitDefaultPluginArtifactFactory.pluginEventManager- the event manager for the plugin system.
-
RosterFilePluginLoader
public RosterFilePluginLoader(File rosterFile, List<PluginFactory> pluginFactories, PluginArtifactFactory pluginArtifactFactory, PluginEventManager pluginEventManager) Create a RosterFilePluginLoader which loads a given roster file to locate plugins.- Parameters:
rosterFile- the file to load the plugin roster from, as perRosterFileScanner.pluginFactories- the factories used to convert PluginArtifacts to Plugins.pluginArtifactFactory- the factory used to convert URIs to PluginArtifacts.pluginEventManager- the event manager for the plugin system.
-
-
Method Details
-
getReferenceModePropertyName
-