{
appInfoMap.put(propName, en.getValue().toString());
}
}
ServerConfiguration sc;
try
{
sc = ApplicationRegistry.getInstance().getConfiguration();
if (null != sc)
{
appInfoMap.put("jmxport", sc.getJMXManagementPort() + "");
appInfoMap.put("port", sc.getPorts().toString());
appInfoMap.put("version", QpidProperties.getReleaseVersion());
appInfoMap.put("vhosts", "standalone");
appInfoMap.put("JMXPrincipalDatabase", sc
.getJMXPrincipalDatabase());
appInfoMap.put("KeystorePath", sc.getKeystorePath());
appInfoMap.put("PluginDirectory", sc.getPluginDirectory());
appInfoMap.put("CertType", sc.getCertType());
appInfoMap.put("QpidWork", sc.getQpidWork());
appInfoMap.put("Bind", sc.getBind());
}
}
catch (Exception e)
{
// drop everything to be silent