1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package com.germinus.easyconf;
17
18 /***
19 * Conventions used by EasyConf that can be expressed as contansts
20 * @author Jorge Ferrer
21 * @version $Revision: 1.5 $
22 *
23 */
24 public interface Conventions {
25
26 char SELECTOR_START = '[';
27 char SELECTOR_END = ']';
28 char DOT = '.';
29 char SLASH = '-';
30
31 String INCLUDE_PROPERTY = "include-and-override";
32 String GLOBAL_CONFIGURATION_FILE = "global-configuration";
33
34 String DIGESTERRULES_EXTENSION = ".digesterRules.xml";
35 String XML_EXTENSION = ".xml";
36 String PROPERTIES_EXTENSION = ".properties";
37
38 String DATASOURCE_PREFIX = "datasource:";
39 String JNDI_PREFIX = "jndi:";
40
41 String RELOAD_DELAY_PROPERTY = "easyconf:reload-delay";
42 public static final String COMPANY_ID_PROPERTY = "easyconf:companyId";
43 public static final String COMPONENT_NAME_PROPERTY = "easyconf:componentName";
44 public static final String PREFIX_SEPARATOR = ":";
45 }