com.atlassian.studio.confluence.startup
Class HttpNonProxyHostsInitialiser

java.lang.Object
  extended by com.atlassian.studio.confluence.startup.HttpNonProxyHostsInitialiser

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.

Since:
v5.7

Constructor Summary
HttpNonProxyHostsInitialiser()
           
 
Method Summary
 void init()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpNonProxyHostsInitialiser

public HttpNonProxyHostsInitialiser()
Method Detail

init

public void init()


Copyright © 2003–2015 Atlassian. All rights reserved.