Package com.sun.enterprise.diagnostics

Examples of com.sun.enterprise.diagnostics.ServiceConfig


        }
               
        for(String instance : instances) {
            try {
                Map instanceMap = new HashMap(8);
                ServiceConfig config = new ServiceConfig(false, null, instance);
                instanceMap.put(ServerTags.CAPTURE_APP_DD, new Boolean(config.isCaptureAppDDEnabled()));
                instanceMap.put(ServerTags.COMPUTE_CHECKSUM, new Boolean(config.isCaptureChecksumEnabled()));
                instanceMap.put(ServerTags.CAPTURE_SYSTEM_INFO, new Boolean(config.isCaptureSystemInfoEnabled()));
                instanceMap.put(ServerTags.CAPTURE_HADB_INFO, new Boolean(config.isCaptureHadbInfoEnabled()));
                instanceMap.put(ServerTags.CAPTURE_INSTALL_LOG, new Boolean(config.isCaptureInstallLogEnabled()));
                instanceMap.put(ServerTags.VERIFY_CONFIG, new Boolean(config.isVerifyDomainEnabled()));
                instanceMap.put(ServerTags.MAX_LOG_ENTRIES, new Integer(config.getMaxNoOfEntries()));
                instanceMap.put(ServerTags.MIN_LOG_LEVEL, new Integer(config.getMinLogLevel()));
                instanceMap.put(ServerTags.LOG_FILE, config.getLogFile());
                configs.put(instance, instanceMap);
            } catch(DiagnosticException de) {
               
            }
        }
View Full Code Here

TOP

Related Classes of com.sun.enterprise.diagnostics.ServiceConfig

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.