1 23 24 package com.sun.enterprise.connectors; 25 26 32 33 public interface ConnectorConstants { 34 35 38 39 public static final String systemRarNames[] = { 40 "jaxr-ra", 41 "__ds", 42 "__cp", 43 "__xa", 44 "jmsra" 45 }; 46 47 50 51 public static final String JAXR_RA_NAME = systemRarNames[0]; 52 53 56 57 public static final String JDBCDATASOURCE_RA_NAME = systemRarNames[1]; 58 59 62 63 public static final String JDBCCONNECTIONPOOLDATASOURCE_RA_NAME = 64 systemRarNames[2]; 65 66 69 70 public static final String JDBCXA_RA_NAME = systemRarNames[3]; 71 72 78 79 public static String RESERVE_PREFIX = "__SYSTEM"; 80 81 84 85 public static final String DD_PREFIX= RESERVE_PREFIX+"/descriptors/"; 86 87 90 91 public static final String DEFAULT_JMS_ADAPTER = systemRarNames[4]; 92 93 97 98 public static final int SERVER = 1; 99 100 104 105 public static final int CLIENT = 2; 106 107 117 118 public static final String SUN_RA_POOL = "sunRAPool"; 119 public static final String ADMINISTERED_OBJECT_FACTORY = 120 "com.sun.enterprise.naming.factory.AdministeredObjectFactory"; 121 122 125 126 public static String SECURITYMAPMETACHAR="*"; 127 128 136 137 public static String POOLNAME_APPENDER="#"; 138 139 145 146 public static String RESOURCENAME_APPENDER="#"; 147 148 151 152 public static String POOLS_JNDINAME_PREFIX=RESERVE_PREFIX+"/pools/"; 153 154 158 159 public static String RESOURCE_JNDINAME_PREFIX=RESERVE_PREFIX+"/resource/"; 160 public static String USERGROUPDISTINGUISHER="#"; 161 public static String CAUTION_MESSAGE="Please add the following permissions to the server.policy file and restart the appserver."; 162 163 167 168 public static String EMBEDDEDRAR_NAME_DELIMITER="#"; 169 170 174 public final static String THROW_TRANSACTED_EXCEPTIONS_PROP 175 = "resourceadapter.throw.transacted.exceptions"; 176 177 181 static String sysThrowExcp 182 = System.getProperty(THROW_TRANSACTED_EXCEPTIONS_PROP); 183 184 188 public static boolean THROW_TRANSACTED_EXCEPTIONS 189 = sysThrowExcp != null && !(sysThrowExcp.trim().equals("true")) ? 190 false : true; 191 192 public static final int DEFAULT_RESOURCE_ADAPTER_SHUTDOWN_TIMEOUT = 30; 193 194 198 public String NO_TRANSACTION_TX_SUPPORT_STRING = "NoTransaction"; 199 200 204 public String LOCAL_TRANSACTION_TX_SUPPORT_STRING = "LocalTransaction"; 205 206 210 public String XA_TRANSACTION_TX_SUPPORT_STRING = "XATransaction"; 211 212 216 217 public int NO_TRANSACTION_INT = 0; 218 222 223 public int LOCAL_TRANSACTION_INT = 1; 224 225 229 public int XA_TRANSACTION_INT = 2; 230 231 235 public int UNDEFINED_TRANSACTION_INT = -1; 236 237 240 public static int JMS_POOL_MINSIZE = 1; 241 242 245 public static int JMS_POOL_MAXSIZE = 250; 246 247 public static enum PoolType { ASSOCIATE_WITH_THREAD_POOL, STANDARD_POOL } 248 249 public static int NON_ACC_CLIENT = 0; 250 251 public static String PM_JNDI_SUFFIX = "__pm"; 252 253 public static String NON_TX_JNDI_SUFFIX = "__nontx" ; 254 255 259 public static String JNDI_SUFFIX_PROPERTY = "com.sun.enterprise.connectors.jndisuffix"; 260 261 264 public static String [] JNDI_SUFFIX_VALUES = { PM_JNDI_SUFFIX , NON_TX_JNDI_SUFFIX }; 265 } 266 | Popular Tags |