public class HttpNonProxyHostsInitialiser
- extends Object
Import the hostname into the http.nonProxyHosts on startup.
This is required because instances have their hostname changed during provisioning without rebooting the
instance. With the current icebat infrastructure, doing this without a reboot means we can't use the external
system property mechanism from the icebat to set the http.nonProxyHosts system property. The landlord plugin
fixes this when the instance is actually provisioned, and this class ensures it is set on subsequent boots. It
sources the hostname from the OS hostname, since PyCM updates this for us.
Ideally this logic wouldn't be a clone of landlord logic, it should probably migrate to a shared library, or even
further outward to icebat support for dynamic system properties and their update.
|Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public void init()
Copyright © 2003–2015 Atlassian. All rights reserved.