code: public String getHostName() {
  	String value = System.getProperty("GLOBUS_HOSTNAME");
  	if (value != null) {
  	    return value;
  	}
  	return getProperty("hostname", null);
      }
docs: Returns the user specified hostname. This is used
  for DHCP machines where java is unable to determine the
  right hostname/IP address.
  It first checks the 'GLOBUS_HOSTNAME' system property. If the property
  is not set, it checks the 'host' system property next. If the 'host'
  property is not set in the current configuration, null is returned
  (and default 'localhost' hostname will be used)
  
  @return <code>String</code> the hostname of the machine.