org.sonatype.tycho.p2.impl.proxy
Class ProxyServiceFacadeImpl
java.lang.Object
org.sonatype.tycho.p2.impl.proxy.ProxyServiceFacadeImpl
- All Implemented Interfaces:
- ProxyServiceFacade
public class ProxyServiceFacadeImpl
- extends Object
- implements ProxyServiceFacade
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProxyServiceFacadeImpl
public ProxyServiceFacadeImpl(org.osgi.framework.BundleContext context)
configureProxy
public void configureProxy(String protocol,
String host,
int port,
String user,
String password,
String nonProxyHosts)
- Description copied from interface:
ProxyServiceFacade
- Configure the OSGI proxy service for the protocol specified. Parameter values are assumed to be taken from
Proxy
- Specified by:
configureProxy
in interface ProxyServiceFacade
- Parameters:
protocol
- proxy protocolhost
- proxy hostport
- proxy portuser
- may be null
password
- may be null
nonProxyHosts
- pipe-separated list of non-proxied hosts, may be null
clearPersistentProxySettings
public void clearPersistentProxySettings()
- Description copied from interface:
ProxyServiceFacade
- Discard persistent proxy settings. This is needed because org.eclipse.core.net.proxy.IProxyService always
remembers its settings in eclipse/configuration/.settings/org.eclipse.core.net.prefs. Otherwise proxy settings
would survive across OSGi framework restarts and thus influence subsequent builds.
- Specified by:
clearPersistentProxySettings
in interface ProxyServiceFacade
Copyright © 2008-2011. All Rights Reserved.