public static void getJmxConnectorSettings(HandlerContext handlerCtx) {
String jmxConnName = ((String)handlerCtx.getInputValue("JmxName"));
String configName = ((String)handlerCtx.getInputValue("ConfigName"));
ConfigConfig config = AMXUtil.getConfig(configName);
JMXConnectorConfig connectorConfig = config.getAdminServiceConfig().getJMXConnectorConfigMap().get(jmxConnName);
handlerCtx.setOutputValue("JmxProtocol", connectorConfig.getProtocol());
handlerCtx.setOutputValue("JmxServUrl", getJMXConnectorServURL(jmxConnName, configName));
handlerCtx.setOutputValue("Address", connectorConfig.getAddress());
handlerCtx.setOutputValue("security", connectorConfig.getSecurityEnabled());
handlerCtx.setOutputValue("Port", connectorConfig.getPort());
handlerCtx.setOutputValue("RealmName", connectorConfig.getAuthRealmName());
if (AMXUtil.isEE()){
String client = "";
if (connectorConfig.existsProperty("client-hostname"))
client = connectorConfig.getPropertyValue("client-hostname");
handlerCtx.setOutputValue("clientHostname", client);
}
}