net.sf.taverna.raven.launcher
Class LauncherHttpProxyConfiguration

java.lang.Object
  extended by net.sf.taverna.raven.launcher.LauncherHttpProxyConfiguration

public class LauncherHttpProxyConfiguration
extends java.lang.Object

Author:
alanrw The LauncherHttpProxyConfiguration handles the configuration of HTTP proxy when Taverna is launched and is also used by the HttpProxyConfiguration to dynamically change the proxy

Field Summary
static java.lang.String NON_PROXY_HOSTS
           
static java.lang.String PROXY_HOST
          The keys within the System Properties that are used for specifying HTTP proxy information
static java.lang.String PROXY_PASSWORD
           
static java.lang.String PROXY_PORT
           
static java.lang.String PROXY_USE_OPTION
          The key within the Properties where the value will indicate which set of proxy values to use
static java.lang.String PROXY_USER
           
static java.lang.String SYSTEM_NON_PROXY_HOSTS
           
static java.lang.String SYSTEM_PROXY_HOST
          The keys within the Properties for the System proxy settings
static java.lang.String SYSTEM_PROXY_PASSWORD
           
static java.lang.String SYSTEM_PROXY_PORT
           
static java.lang.String SYSTEM_PROXY_USER
           
static java.lang.String TAVERNA_NON_PROXY_HOSTS
           
static java.lang.String TAVERNA_PROXY_HOST
          The keys within the Properties for the ad hoc Taverna proxy settings
static java.lang.String TAVERNA_PROXY_PASSWORD
           
static java.lang.String TAVERNA_PROXY_PORT
           
static java.lang.String TAVERNA_PROXY_USER
           
static java.lang.String USE_NO_PROXY_OPTION
           
static java.lang.String USE_SPECIFIED_VALUES_OPTION
           
static java.lang.String USE_SYSTEM_PROPERTIES_OPTION
          The acceptable values for which proxy values to use
 
Method Summary
 void changeProxySettings(java.util.Properties props)
          Change the System Proxy settings according to the property values specified.
static LauncherHttpProxyConfiguration getInstance()
          Return the singleton instance of LauncherHttpProxyConfiguration
static java.lang.String getName()
           
 java.lang.String getOriginalSystemSetting(java.lang.String key)
          Return the original System property value for the specified key.
static java.lang.String getUUID()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

USE_SYSTEM_PROPERTIES_OPTION

public static java.lang.String USE_SYSTEM_PROPERTIES_OPTION
The acceptable values for which proxy values to use


USE_NO_PROXY_OPTION

public static java.lang.String USE_NO_PROXY_OPTION

USE_SPECIFIED_VALUES_OPTION

public static java.lang.String USE_SPECIFIED_VALUES_OPTION

PROXY_USE_OPTION

public static java.lang.String PROXY_USE_OPTION
The key within the Properties where the value will indicate which set of proxy values to use


TAVERNA_PROXY_HOST

public static java.lang.String TAVERNA_PROXY_HOST
The keys within the Properties for the ad hoc Taverna proxy settings


TAVERNA_PROXY_PORT

public static java.lang.String TAVERNA_PROXY_PORT

TAVERNA_PROXY_USER

public static java.lang.String TAVERNA_PROXY_USER

TAVERNA_PROXY_PASSWORD

public static java.lang.String TAVERNA_PROXY_PASSWORD

TAVERNA_NON_PROXY_HOSTS

public static java.lang.String TAVERNA_NON_PROXY_HOSTS

SYSTEM_PROXY_HOST

public static java.lang.String SYSTEM_PROXY_HOST
The keys within the Properties for the System proxy settings


SYSTEM_PROXY_PORT

public static java.lang.String SYSTEM_PROXY_PORT

SYSTEM_PROXY_USER

public static java.lang.String SYSTEM_PROXY_USER

SYSTEM_PROXY_PASSWORD

public static java.lang.String SYSTEM_PROXY_PASSWORD

SYSTEM_NON_PROXY_HOSTS

public static java.lang.String SYSTEM_NON_PROXY_HOSTS

PROXY_HOST

public static java.lang.String PROXY_HOST
The keys within the System Properties that are used for specifying HTTP proxy information


PROXY_PORT

public static java.lang.String PROXY_PORT

PROXY_USER

public static java.lang.String PROXY_USER

PROXY_PASSWORD

public static java.lang.String PROXY_PASSWORD

NON_PROXY_HOSTS

public static java.lang.String NON_PROXY_HOSTS
Method Detail

getOriginalSystemSetting

public java.lang.String getOriginalSystemSetting(java.lang.String key)
Return the original System property value for the specified key. Null of no such property existed.

Parameters:
key -
Returns:

changeProxySettings

public void changeProxySettings(java.util.Properties props)
Change the System Proxy settings according to the property values specified.

Parameters:
props -

getName

public static java.lang.String getName()
Returns:

getInstance

public static LauncherHttpProxyConfiguration getInstance()
Return the singleton instance of LauncherHttpProxyConfiguration

Returns:

getUUID

public static java.lang.String getUUID()
Returns: