1 23 package com.sun.enterprise.diagnostics; 24 import com.sun.enterprise.util.SystemPropertyConstants; 25 import java.io.File ; 26 27 31 public interface Constants { 32 33 public static final String DATE_PATTERN = "yyyy-MM-dd"; 35 public static final String DATE_TIME_PATTERN = 36 "yyyy-MM-dd'T'HH-mm-ss"; 37 public static final char FIELD_SEPARATOR = '|'; 38 public static final String ENTRY_END_INDICATOR = "|#]"; 39 public static final String ENTRY_BEGIN_INDICATOR = "[#|"; 40 public static final int ENTRY_DATE_BEGIN_INDEX = 3; 41 public static final int ENTRY_DATE_LENGTH = 10; 42 public static final char FILENAME_DATE_SEPARATOR = '_'; 43 44 public static final String CONFIG_DIR = File.separator + 46 "config"; 47 public static final String DOMAIN_XML = CONFIG_DIR + 48 File.separator + "domain.xml";; 49 public static final String DOMAIN_XML_DTD = File.separator + 50 "lib" + File.separator + "dtds" + 51 File.separator + "sun-domain_1_2.dtd"; 52 public static final String SUN_ACC = CONFIG_DIR + 53 File.separator + "sun-acc.xml"; 54 public static final String LOGIN_CONF = CONFIG_DIR + 55 File.separator + "login.conf"; 56 public static final String SERVER_POLICY = CONFIG_DIR + 57 File.separator + "server.policy"; 58 59 public static final String GENERATED = "generated"; 61 public static final String GENERATED_DIR = File.separator + GENERATED; 62 public static final String APPLICATIONS = "applications"; 63 public static final String APPLICATIONS_DIR = 64 File.separator + APPLICATIONS; 65 66 public static final String REPORT_SUMMARY = File.separator + 67 "ReportSummary.html"; 68 69 public static final String SERVER = 70 SystemPropertyConstants.DEFAULT_SERVER_INSTANCE_NAME; 71 public static final String INSTALLATION_LOG_PREFIX = "Install_Application_Server"; 72 public static final String SJSAS_INSTALLATION_LOG_PREFIX = "Sun_Java_System_Application_Server"; 73 74 } 75 | Popular Tags |