KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > enterprise > diagnostics > Defaults


1 /*
2  * The contents of this file are subject to the terms
3  * of the Common Development and Distribution License
4  * (the License). You may not use this file except in
5  * compliance with the License.
6  *
7  * You can obtain a copy of the license at
8  * https://glassfish.dev.java.net/public/CDDLv1.0.html or
9  * glassfish/bootstrap/legal/CDDLv1.0.txt.
10  * See the License for the specific language governing
11  * permissions and limitations under the License.
12  *
13  * When distributing Covered Code, include this CDDL
14  * Header Notice in each file and include the License file
15  * at glassfish/bootstrap/legal/CDDLv1.0.txt.
16  * If applicable, add the following below the CDDL Header,
17  * with the fields enclosed by brackets [] replaced by
18  * you own identifying information:
19  * "Portions Copyrighted [year] [name of copyright owner]"
20  *
21  * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
22  */

23 package com.sun.enterprise.diagnostics;
24
25 import java.util.logging.Level JavaDoc;
26 import java.io.File JavaDoc;
27
28 /**
29  * Holds all defaults for service config
30  * @author mu125243
31  */

32 public interface Defaults {
33     
34     public static final int MAX_NO_OF_ENTRIES = 500;
35     public static final int MIN_LOG_LEVEL = Level.INFO.intValue();
36     public static final String JavaDoc LOG_FILE = "${com.sun.aas.instanceRoot}" +
37             File.separator + "logs" + File.separator +
38             "server.log" + File.separator;
39     public static final String JavaDoc LOGS = "logs";
40     public static final String JavaDoc DEST_LOG_FILE = File.separator + LOGS +
41             File.separator + "server.log";
42     public static final String JavaDoc TEMP_REPORT = "reports_temp";
43     public static final String JavaDoc TEMP_REPORT_FOLDER = File.separator +
44             TEMP_REPORT;
45     public static final String JavaDoc DIAGNOSTIC_REPORT = "diagnostic-reports";
46     public static final String JavaDoc REPORT_FOLDER = File.separator +
47             DIAGNOSTIC_REPORT;
48     public static final String JavaDoc CHECKSUM_FILE_NAME= File.separator + "checksum";
49     public static final String JavaDoc DOMAIN_XML_VERIFICATION_OUTPUT= File.separator +
50             "domain-xml-verification";
51     public static final String JavaDoc CUSTOMER_INPUT = File.separator + "customer-input";
52     public static final String JavaDoc MONITORING_INFO_FILE = "MonitoringInformation";
53     public static final String JavaDoc SYSTEM_INFO_FILE = File.separator +
54             "SystemInformation";
55     public static final String JavaDoc HADB_INFO_FILE = File.separator +
56             "HADBInformation";
57     public static final String JavaDoc REPORT_NAME = File.separator + "ReportSummary.html";
58 }
59
Popular Tags