1 package org.apache.fulcrum.yaafi.framework.container;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22 import org.apache.fulcrum.yaafi.framework.constant.AvalonYaafiConstants;
23
24 /**
25 * Commonly used constants.
26 *
27 * @author <a href="mailto:siegfried.goeschl@it20one.at">Siegfried Goeschl</a>
28 */
29
30 public interface ServiceConstants extends AvalonYaafiConstants
31 {
32 /** The name of this component */
33 String ROLE_NAME = "fulcrum-yaafi";
34
35 /** The default implementation class for YAAFI */
36 String CLAZZ_NAME = "org.apache.fulcrum.yaafi.framework.container.ServiceContainerImpl";
37
38
39
40
41
42 /** property to lookup the container type */
43 String CONTAINERFLAVOUR_CONFIG_KEY = "containerFlavour";
44
45 /** property to lookup the implementation class of the container */
46 String CONTAINERCLAZZNAME_CONFIG_KEY = "containerClazzName";
47
48 /** property to lookup the component config file */
49 String COMPONENT_CONFIG_KEY = "componentConfiguration";
50
51 /** property to lookup the component config property file */
52 String COMPONENT_CONFIG_PROPERTIES_KEY = "componentConfigurationProperties";
53
54 /** property to lookup the component role file */
55 String COMPONENT_ROLE_KEYS = "componentRoles";
56
57 /** property to lookup the parameters file */
58 String COMPONENT_PARAMETERS_KEY = "parameters";
59
60 /** property to lookup the decryption handling */
61 String COMPONENT_ISENCRYPTED_KEY = "isEncrypted";
62
63 /** property to lookup the lcoation */
64 String COMPONENT_LOCATION_KEY = "location";
65
66 /** property to lookup the usage of dynamic proxies */
67 String DYNAMICPROXY_ENABLED_KEY = "hasDynamicProxies";
68
69 /** property to lookup the list of interceptors */
70 String INTERCEPTOR_LIST_KEY = "interceptors";
71
72 /** property to lookup a single interceptor */
73 String INTERCEPTOR_KEY = "interceptor";
74
75 /** property to lookup the reconfigurationDelay */
76 String RECONFIGURATION_DELAY_KEY = "reconfigurationDelay";
77
78
79
80
81
82 /** default file name of the component config file */
83 String COMPONENT_CONFIG_VALUE = "/componentConfiguration.xml";
84
85 /** default file name of the component role file */
86 String COMPONENT_ROLE_VALUE = "/componentRoles.xml";
87
88 /** default file name of the parameters file */
89 String COMPONENT_PARAMETERS_VALUE = "/parameters.properties";
90
91 /** default value for container flavour */
92 String COMPONENT_CONTAINERFLAVOUR_VALUE = "yaafi";
93
94 /** default value for role config flavour */
95 String COMPONENT_ROLECONFIGFLAVOUR_VALUE = "yaafi";
96
97 }