/** * add the hostname of the current system. This is very useful for * locating faults on a cluster. * @since Axis1.2 */ public void addHostnameIfNeeded() { //look for an existing declaration if(lookupFaultDetail(Constants.QNAME_FAULTDETAIL_HOSTNAME)!=null) { //and do nothing if it exists return; } addHostname(NetworkUtils.getLocalHostname()); }
/** * add the hostname of the current system. This is very useful for * locating faults on a cluster. * @since Axis1.2 */ public void addHostnameIfNeeded() { //look for an existing declaration if(lookupFaultDetail(Constants.QNAME_FAULTDETAIL_HOSTNAME)!=null) { //and do nothing if it exists return; } addHostname(NetworkUtils.getLocalHostname()); }
/** * add the hostname of the current system. This is very useful for * locating faults on a cluster. * @since Axis1.2 */ public void addHostnameIfNeeded() { //look for an existing declaration if(lookupFaultDetail(Constants.QNAME_FAULTDETAIL_HOSTNAME)!=null) { //and do nothing if it exists return; } addHostname(NetworkUtils.getLocalHostname()); }