Package com.sun.enterprise.config.serverbeans

Examples of com.sun.enterprise.config.serverbeans.MonitoringService


    private MonitoringLevel getSipMonitoringLevel() {
        String mLevel = "OFF";
        try {
            Config cfg = ServerBeansFactory.getConfigBean(ApplicationServer
                    .getServerContext().getConfigContext());
            MonitoringService monService = cfg.getMonitoringService();

            ElementProperty monLevel = monService.getModuleMonitoringLevels()
                    .getElementPropertyByName(SIPSERVICE_PROPERTY_NAME);
            if (monLevel != null) {
                String val = monLevel.getValue();
                if (val.equals(MonitoringLevel.HIGH.toString()))
                    mLevel = "HIGH";
View Full Code Here


    public MonitoringLevel getCLBMonitoringLevel() {
        MonitoringLevel monitoringLevel = MonitoringLevel.OFF;
        try {
            Config cfg = ServerBeansFactory.getConfigBean(ApplicationServer
                    .getServerContext().getConfigContext());
            MonitoringService monService = cfg.getMonitoringService();
   
            ElementProperty monLevel = monService.getModuleMonitoringLevels()
                    .getElementPropertyByName(CLB_PROPERTY_NAME);
            if (monLevel != null) {
                String val = monLevel.getValue();
                if(val.equals(MonitoringLevel.HIGH.toString())){
                    monitoringLevel = MonitoringLevel.HIGH;
View Full Code Here

TOP

Related Classes of com.sun.enterprise.config.serverbeans.MonitoringService

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.