net.sf.taverna.raven.plugins
Class TavernaPluginSite

java.lang.Object
  extended by net.sf.taverna.raven.plugins.PluginSite
      extended by net.sf.taverna.raven.plugins.TavernaPluginSite

public class TavernaPluginSite
extends PluginSite

Extension to PluginSite specifally for the main Taverna plugin site. This will not get entered into the plugins/plugin-sites.xml, and also supports a list of alternative url's for fail-over should the mygrid site fail.

Author:
Stuart Owen

Constructor Summary
TavernaPluginSite(java.lang.String name, java.net.URL[] urls)
           
 
Method Summary
 java.net.URL getUrl()
          checks each url until it returns a working one, or the null if they all fail.
 
Methods inherited from class net.sf.taverna.raven.plugins.PluginSite
equals, fromXml, getName, hashCode, toString, toXml
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TavernaPluginSite

public TavernaPluginSite(java.lang.String name,
                         java.net.URL[] urls)
Method Detail

getUrl

public java.net.URL getUrl()
checks each url until it returns a working one, or the null if they all fail. If a working url is found then this url is stored an returned for subsequent calls.

Overrides:
getUrl in class PluginSite
Returns:
the url