1 6 package org.logicalcobwebs.proxool; 7 8 15 public interface ProxoolConstants { 16 17 public final String PROXOOL = "proxool"; 18 19 23 public final String PROXOOL_XML_NAMESPACE_URI = "The latest version is available at http://proxool.sourceforge.net/xml-namespace"; 24 25 public final String ALIAS_DELIMITER = "."; 26 27 public final String PROPERTY_PREFIX = PROXOOL + "."; 28 29 public final String URL_DELIMITER = ":"; 30 31 32 public final String USER_PROPERTY = "user"; 33 34 35 public final String PASSWORD_PROPERTY = "password"; 36 37 38 public final String ALIAS_PROPERTY = PROPERTY_PREFIX + "alias"; 39 40 41 public final String DELEGATE_DRIVER = "driver"; 42 43 44 public final String DELEGATE_DRIVER_PROPERTY = PROPERTY_PREFIX + DELEGATE_DRIVER; 45 46 47 public final String DELEGATE_URL = "url"; 48 49 50 public final String DELEGATE_URL_PROPERTY = PROPERTY_PREFIX + DELEGATE_URL; 51 52 53 public final String HOUSE_KEEPING_SLEEP_TIME = "house-keeping-sleep-time"; 54 55 56 public final String HOUSE_KEEPING_SLEEP_TIME_PROPERTY = PROPERTY_PREFIX + HOUSE_KEEPING_SLEEP_TIME; 57 58 59 public final String HOUSE_KEEPING_TEST_SQL = "house-keeping-test-sql"; 60 61 62 public final String HOUSE_KEEPING_TEST_SQL_PROPERTY = PROPERTY_PREFIX + HOUSE_KEEPING_TEST_SQL; 63 64 65 public final String TEST_BEFORE_USE = "test-before-use"; 66 67 68 public final String TEST_BEFORE_USE_PROPERTY = PROPERTY_PREFIX + TEST_BEFORE_USE; 69 70 71 public final String TEST_AFTER_USE = "test-after-use"; 72 73 74 public final String TEST_AFTER_USE_PROPERTY = PROPERTY_PREFIX + TEST_AFTER_USE; 75 76 77 public final String MAXIMUM_CONNECTION_COUNT = "maximum-connection-count"; 78 79 80 public final String MAXIMUM_CONNECTION_COUNT_PROPERTY = PROPERTY_PREFIX + MAXIMUM_CONNECTION_COUNT; 81 82 83 public final String MAXIMUM_CONNECTION_LIFETIME = "maximum-connection-lifetime"; 84 85 86 public final String MAXIMUM_CONNECTION_LIFETIME_PROPERTY = PROPERTY_PREFIX + MAXIMUM_CONNECTION_LIFETIME; 87 88 91 public final String MAXIMUM_NEW_CONNECTIONS = "maximum-new-connections"; 92 93 96 public final String MAXIMUM_NEW_CONNECTIONS_PROPERTY = PROPERTY_PREFIX + MAXIMUM_NEW_CONNECTIONS; 97 98 99 public final String SIMULTANEOUS_BUILD_THROTTLE = "simultaneous-build-throttle"; 100 101 102 public final String SIMULTANEOUS_BUILD_THROTTLE_PROPERTY = PROPERTY_PREFIX + SIMULTANEOUS_BUILD_THROTTLE; 103 104 105 public final String MINIMUM_CONNECTION_COUNT = "minimum-connection-count"; 106 107 108 public final String MINIMUM_CONNECTION_COUNT_PROPERTY = PROPERTY_PREFIX + MINIMUM_CONNECTION_COUNT; 109 110 111 public final String PROTOTYPE_COUNT = "prototype-count"; 112 113 114 public final String PROTOTYPE_COUNT_PROPERTY = PROPERTY_PREFIX + PROTOTYPE_COUNT; 115 116 117 public final String RECENTLY_STARTED_THRESHOLD = "recently-started-threshold"; 118 119 120 public final String RECENTLY_STARTED_THRESHOLD_PROPERTY = PROPERTY_PREFIX + RECENTLY_STARTED_THRESHOLD; 121 122 123 public final String OVERLOAD_WITHOUT_REFUSAL_LIFETIME = "overload-without-refusal-lifetime"; 124 125 126 public final String OVERLOAD_WITHOUT_REFUSAL_LIFETIME_PROPERTY = PROPERTY_PREFIX + OVERLOAD_WITHOUT_REFUSAL_LIFETIME; 127 128 129 public final String MAXIMUM_ACTIVE_TIME = "maximum-active-time"; 130 131 132 public final String MAXIMUM_ACTIVE_TIME_PROPERTY = PROPERTY_PREFIX + MAXIMUM_ACTIVE_TIME; 133 134 135 public final String INJECTABLE_CONNECTION_INTERFACE_NAME = "injectable-connection-interface"; 136 137 138 public final String INJECTABLE_CONNECTION_INTERFACE_NAME_PROPERTY = PROPERTY_PREFIX + INJECTABLE_CONNECTION_INTERFACE_NAME; 139 140 141 public final String INJECTABLE_STATEMENT_INTERFACE_NAME = "injectable-statement-interface"; 142 143 144 public final String INJECTABLE_STATEMENT_INTERFACE_NAME_PROPERTY = PROPERTY_PREFIX + INJECTABLE_STATEMENT_INTERFACE_NAME; 145 146 147 public final String INJECTABLE_PREPARED_STATEMENT_INTERFACE_NAME = "injectable-prepared-statement-interface"; 148 149 150 public final String INJECTABLE_PREPARED_STATEMENT_INTERFACE_NAME_PROPERTY = PROPERTY_PREFIX + INJECTABLE_PREPARED_STATEMENT_INTERFACE_NAME; 151 152 153 public final String INJECTABLE_CALLABLE_STATEMENT_INTERFACE_NAME = "injectable-callable-statement-interface"; 154 155 156 public final String INJECTABLE_CALLABLE_STATEMENT_INTERFACE_NAME_PROPERTY = PROPERTY_PREFIX + INJECTABLE_CALLABLE_STATEMENT_INTERFACE_NAME; 157 158 161 public final String DEBUG_LEVEL_PROPERTY = PROPERTY_PREFIX + "debug-level"; 162 163 164 public final String VERBOSE = "verbose"; 165 166 167 public final String VERBOSE_PROPERTY = PROPERTY_PREFIX + VERBOSE; 168 169 170 public final String TRACE = "trace"; 171 172 173 public final String TRACE_PROPERTY = PROPERTY_PREFIX + TRACE; 174 175 176 public final String FATAL_SQL_EXCEPTION = "fatal-sql-exception"; 177 178 179 public final String FATAL_SQL_EXCEPTION_PROPERTY = PROPERTY_PREFIX + FATAL_SQL_EXCEPTION; 180 181 182 public final String FATAL_SQL_EXCEPTION_WRAPPER_CLASS = "fatal-sql-exception-wrapper-class"; 183 184 185 public final String FATAL_SQL_EXCEPTION_WRAPPER_CLASS_PROPERTY = PROPERTY_PREFIX + FATAL_SQL_EXCEPTION_WRAPPER_CLASS; 186 187 public static final String STATISTICS = "statistics"; 188 189 190 public final String STATISTICS_PROPERTY = PROPERTY_PREFIX + STATISTICS; 191 192 public static final String STATISTICS_LOG_LEVEL = "statistics-log-level"; 193 194 195 public final String STATISTICS_LOG_LEVEL_PROPERTY = PROPERTY_PREFIX + STATISTICS_LOG_LEVEL; 196 197 public static final String JNDI_NAME = "jndi-name"; 198 199 200 public static final String JNDI_PROPERTY_PREFIX = "jndi-"; 201 202 203 public final String JNDI_NAME_PROPERTY = PROPERTY_PREFIX + JNDI_NAME; 204 205 207 public static final String STATISTICS_LOG_LEVEL_TRACE = "TRACE"; 208 209 public static final String STATISTICS_LOG_LEVEL_DEBUG = "DEBUG"; 210 211 public static final String STATISTICS_LOG_LEVEL_INFO = "INFO"; 212 213 216 public static final String DRIVER_PROPERTIES = "driver-properties"; 217 218 219 222 public static final String JMX = "jmx"; 223 224 227 public final String JMX_PROPERTY = PROPERTY_PREFIX + JMX; 228 229 234 public static final String JMX_AGENT_ID = "jmx-agent-id"; 235 236 239 public final String JMX_AGENT_PROPERTY = PROPERTY_PREFIX + JMX_AGENT_ID; 240 241 244 public final String ALIAS = "alias"; 245 246 249 public final String DRIVER_CLASS = "driver-class"; 250 253 public final String DRIVER_CLASS_PROPERTY = PROPERTY_PREFIX + DRIVER_CLASS;; 254 257 public final String DRIVER_URL = "driver-url"; 258 261 public final String DRIVER_URL_PROPERTY = PROPERTY_PREFIX + DRIVER_URL; 262 } 263 264 355 | Popular Tags |