org.freehep.application.studio.pluginmanager
Class PluginListHandler

java.lang.Object
  extended by 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

Constructor Summary
PluginListHandler()
           
 
Method Summary
 List<PluginInfo> getAvailablePlugins(URL url, Logger logger, Studio application)
          Called by PluginManager to download a list of available plugins.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginListHandler

public PluginListHandler()
Method Detail

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.