1 23 24 37 package com.sun.enterprise.server; 38 39 import com.sun.enterprise.util.SystemPropertyConstants; 40 import com.sun.enterprise.admin.util.IAdminConstants; 41 42 45 public final class Constants implements IAdminConstants 46 { 47 private static final String prefix = "com.sun.aas."; 48 49 public static final String Package = "com.sun.enterprise.server"; 50 51 52 public static final String IAS_ROOT = SystemPropertyConstants.INSTANCE_ROOT_PROPERTY; 53 54 55 public static final String CONFIG_DIR_NAME = "config"; 56 57 58 public static final String INSTALL_ROOT = SystemPropertyConstants.INSTALL_ROOT_PROPERTY; 59 60 61 public static final String INSTALL_CFG_ROOT = SystemPropertyConstants.CONFIG_ROOT_PROPERTY; 62 63 public static final String INSTALL_IMQ_BIN = SystemPropertyConstants.IMQ_BIN_PROPERTY; 64 public static final String INSTALL_IMQ_LIB = SystemPropertyConstants.IMQ_LIB_PROPERTY; 65 66 68 72 public static final String USER_SPECIFIED_COMPILER = 73 prefix + "deployment.java.compiler"; 74 75 78 public static final String ENABLE_JAVAC_FILE = 79 prefix + "deployment.javac.file.enable"; 80 81 85 public static final String USER_SPECIFIED_COMPILER_OPTIONS = 86 USER_SPECIFIED_COMPILER + ".options"; 87 88 97 public final static String KEEP_FAILED_STUBS = 98 prefix + "deployment.KeepFailedStubs"; 99 100 103 public static final String PROCESS_ANNOTATION = prefix + "deployment.ProcessAnnotation"; 104 105 106 public static final String VERIFIER_XSL = "com.sun.aas.verifier.xsl"; 107 108 109 public static final String APPLICATION_TYPE = "Application-Type"; 110 111 public static final String LIB = "lib"; 113 public static final String LIB_INSTALL = "install"; 114 public static final String LIB_INSTALL_APPLICATIONS = "applications"; 115 public static final String TARGET_TYPE_ADMIN = "admin"; 117 public static final String TARGET_TYPE_INSTANCE = "instance"; 118 119 120 public static final String ALLOW_SYSAPP_DEPLOYMENT = prefix+ "deployment.AllowSysAppDeployment"; 121 122 123 125 126 public static final String FASTJAVAC_TIMEOUT_MS = 127 prefix + "deployment.Fastjavac.TimeoutMS"; 128 129 130 public static final String JAVAC_TIMEOUT_MS = 131 prefix + "deployment.Javac.TimeoutMS"; 132 133 134 public static final String RMIC_TIMEOUT_MS = 135 prefix + "deployment.Rmic.TimeoutMS"; 136 137 138 public static final String USER_SPECIFIED_COMPILER_TIMEOUT_MS = 139 USER_SPECIFIED_COMPILER + ".TimeoutMS"; 140 141 142 public static final int DEFAULT_FASTJAVAC_TIMEOUT_MS = 4000; 143 144 145 public static final int DEFAULT_JAVAC_TIMEOUT_MS = 30000; 146 147 148 public static final int DEFAULT_RMIC_TIMEOUT_MS = 40000; 149 150 151 public static final int DEFAULT_USER_SPECIFIED_COMPILER_TIMEOUT_MS = 152 DEFAULT_JAVAC_TIMEOUT_MS; 153 154 158 public static final String NAME_SEPARATOR = ":"; 159 160 163 public static final String CMP_UNIQUE_TABLE_NAMES = "CmpInfo.uniqueTableNames"; 164 public static final String CMP_DB_VENDOR_NAME = "CmpInfo.dbVendorName"; 165 public static final String CMP_DROP_TABLES = "CmpInfo.DROP_TABLES"; 166 public static final String CMP_CREATE_TABLES = "CmpInfo.CREATE_TABLES"; 167 public static final String CMP_DROP_AND_CREATE_TABLES = "CmpInfo.DROP_AND_CREATE_TABLES"; 168 public static final String TRUE = "true"; 169 public static final String FALSE = "false"; 170 public static final String UNDEFINED = "undefined"; 171 172 public static final String LOAD_UNLOAD_ACTION = "loadUnloadAction"; 174 175 public static final int LOAD_UNSET = 0; 178 public static final int LOAD_ALL = 1; 179 public static final int LOAD_RAR = 2; 181 public static final int LOAD_REST = 3; 183 public static final int UNLOAD_ALL = 4; 185 public static final int UNLOAD_RAR = 5; 187 public static final int UNLOAD_REST = 6; 189 } 190 | Popular Tags |