// Try to instantiate JmxManager. We must test if jmx classes are
// available
try {
Class.forName("java.lang.management.ManagementFactory");
_wgaMonitor = new JmxManager(new WGAInformation(this), new ObjectName("de.innovationgate.WGAMonitor:context=" + arg0.getServletContext().getServletContextName() + ",name=Information"));
if (!JmxManager.JMX_DISABLED) {
log.info("WGA JMX metrics enabled");
}
}
catch (UnsupportedOperationException e) {