org.freehep.application.studio.pluginmanager
Class PluginListHandler
java.lang.Object
org.freehep.application.studio.pluginmanager.PluginListHandler
public class PluginListHandler
- extends Object
SPI and default implementation for downloading a list of available plugins.
If an alternative way of downloading the plugin list needs to be used, a customized
subclass must be passed to the PluginManager.setPluginListHandler(org.freehep.application.studio.pluginmanager.PluginListHandler)
.
- Author:
- onoprien
PluginListHandler
public PluginListHandler()
getAvailablePlugins
public List<PluginInfo> getAvailablePlugins(URL url,
Logger logger,
Studio application)
- Called by
PluginManager
to download a list of available plugins.
The provided implementation posts HTTP request to the supplied URL and uses JDOM to parse
the XML response conforming to "plugin.dtd".
- Parameters:
url
- logger
- application
-
- Returns:
Copyright © 2000-2013 FreeHEP. All Rights Reserved.