Example #1
0
 private void setParameters(JMXServiceURL url, String userName, String password) {
   this.jmxUrl = url;
   this.hostName = jmxUrl.getHost();
   this.port = jmxUrl.getPort();
   this.userName = userName;
   this.password = password;
 }