@ Override @ JsonIgnore public JMXConnector getServerConnection ( ) throws IOException { JMXServiceURL url = getJmxServiceURL ( ) ; return JMXConnectorFactory . connect ( url , this . getEnvironment ( ) ) ; }
Helper method for connecting to a Server . You need to close the resulting connection .