Package de.innovationgate.monitoring

Examples of de.innovationgate.monitoring.JmxManager


           
            // Create JMX monitoring information
            try {
                String dbKey = (String) props.get("hibernate.dbcp.dbkey");
                if (dbKey != null) {
                    _jmxManager = new JmxManager(new DBCPPoolInformation(this), new ObjectName("de.innovationgate.WGAMonitor:name=DBCP-Connection-Pooling,dbkey=" + dbKey));
                }
            }
            catch (Throwable e) {
                log.error("Error enabling JMX metrics for connection pool", e);
            }
View Full Code Here


            // 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) {
View Full Code Here

TOP

Related Classes of de.innovationgate.monitoring.JmxManager

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.