@ Override public String getDescription ( ) { String hostDescr = host ; try { if ( hostDescr == null ) { hostDescr = NetworkUtil . getLocalAddress ( ) . getHostName ( ) ; } } catch ( IOException e ) { hostDescr = "localhost" ; } return "Jolokia Agent: http://" + hostDescr + ":" + getPort ( ) + "/jolokia" ; }
Description including agent URL