public String getServerUrl ( ) { if ( StringUtils . hasText ( this . serverUrl ) ) { return serverUrl ; } else { return "service:jmx:" + protocol + ":///jndi/" + protocol + "://" + host + ":" + port + ( binding != null ? "/" + binding : "" ) ; } }
Gets the value of the serverUrl property .