final int port = Integer.parseInt(connConfig.getPort()); final boolean securityEnabled = Boolean.parseBoolean(connConfig.getSecurityEnabled()); final Ssl ssl = connConfig.getSsl();
private static String toString(final JmxConnector c) { return "JmxConnector config: { name = " + c.getName() + ", Protocol = " + c.getProtocol() + ", Address = " + c.getAddress() + ", Port = " + c.getPort() + ", AcceptAll = " + c.getAcceptAll() + ", AuthRealmName = " + c.getAuthRealmName() + ", SecurityEnabled = " + c.getSecurityEnabled() + "}"; }