Пример #1
0
  @Before
  public void initialise() throws MalformedURLException {
    String bindAddress = System.getProperty(BIND_ADDRESS_PROPERTY, DEFAULT_BIND_ADDRESS);
    config = new JMXRemotingConfig();
    config.host = bindAddress;

    serviceURL = new JMXServiceURL(PROTOCOL, bindAddress, DEFAULT_PORT);
  }