com.atlassian.plugin.loaders
Class RosterFilePluginLoader

java.lang.Object
  extended by com.atlassian.plugin.loaders.ScanningPluginLoader
      extended by com.atlassian.plugin.loaders.RosterFilePluginLoader
All Implemented Interfaces:
DiscardablePluginLoader, DynamicPluginLoader, PluginLoader

public class RosterFilePluginLoader
extends ScanningPluginLoader

A PluginLoader which manages plugins specified by a roster file.

Since:
v3.0.24
See Also:
RosterFileScanner

Field Summary
 
Fields inherited from class com.atlassian.plugin.loaders.ScanningPluginLoader
pluginArtifactFactory, pluginFactories, plugins, scanner
 
Constructor Summary
RosterFilePluginLoader(File rosterFile, List<PluginFactory> pluginFactories, PluginArtifact.AllowsReference.ReferenceMode referenceMode, 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, PluginEventManager pluginEventManager)
          Create a RosterFilePluginLoader which loads a given roster file to locate plugins.
 
Method Summary
static String getReferenceModePropertyName()
           
 
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
 

Constructor Detail

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 per RosterFileScanner.
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,
                              PluginArtifact.AllowsReference.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 per RosterFileScanner.
pluginFactories - the factories used to convert PluginArtifacts to Plugins.
referenceMode - the ReferenceMode to use for the implicit DefaultPluginArtifactFactory.
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 per RosterFileScanner.
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 Detail

getReferenceModePropertyName

public static String getReferenceModePropertyName()


Copyright © 2015 Atlassian. All rights reserved.