1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
|
17 | |
package org.kuali.rice.core.api.config.property; |
18 | |
|
19 | |
import java.io.IOException; |
20 | |
import java.util.Map; |
21 | |
import java.util.Properties; |
22 | |
|
23 | |
|
24 | |
|
25 | |
|
26 | |
|
27 | |
|
28 | |
|
29 | |
public interface Config { |
30 | |
|
31 | |
public static final String KEYSTORE_ALIAS = "keystore.alias"; |
32 | |
public static final String KEYSTORE_PASSWORD = "keystore.password"; |
33 | |
public static final String KEYSTORE_FILE = "keystore.file"; |
34 | |
|
35 | |
public static final String BASE_WEB_SERVICE_URL_WORKFLOW_CLIENT_FILE = "webservices.settings.url"; |
36 | |
|
37 | |
public static final String BASE_WEB_SERVICE_WSDL_PATH = "webservices.settings.wsdl.path"; |
38 | |
|
39 | |
public static final String WSDL_LOCATION_WORKFLOW_CLIENT_FILE = "webservices.settings.wsdd.path"; |
40 | |
|
41 | |
public static final String WEB_SERVICE_CONNECT_RETRY = "webservices.settings.connect.retry"; |
42 | |
|
43 | |
|
44 | |
|
45 | |
|
46 | |
public static final String LOG4J_SETTINGS_XML = "log4j.settings.xml"; |
47 | |
|
48 | |
|
49 | |
|
50 | |
|
51 | |
public static final String LOG4J_SETTINGS_PROPS = "log4j.settings.props"; |
52 | |
|
53 | |
|
54 | |
|
55 | |
|
56 | |
|
57 | |
public static final String LOG4J_SETTINGS_PATH = "log4j.settings.path"; |
58 | |
|
59 | |
|
60 | |
|
61 | |
|
62 | |
public static final String LOG4J_SETTINGS_RELOADINTERVAL_MINS = "log4j.settings.reloadInterval"; |
63 | |
|
64 | |
public static final String TRANSACTION_TIMEOUT = "transaction.timeout"; |
65 | |
|
66 | |
public static final String DOCUMENT_LOCK_TIMEOUT = "document.lock.timeout"; |
67 | |
|
68 | |
public static final String EMAIL_SECURITY_PATH = "email.security.path"; |
69 | |
|
70 | |
public static final String ENVIRONMENT = "environment"; |
71 | |
|
72 | |
public static final String PLUGIN_DIR = "plugin.dir"; |
73 | |
|
74 | |
public static final String EXTRA_CLASSES_DIR = "extra.classes.dir"; |
75 | |
|
76 | |
public static final String EXTRA_LIB_DIR = "extra.lib.dir"; |
77 | |
|
78 | |
public static final String EDL_CONFIG_LOCATION = "edl.config.loc"; |
79 | |
|
80 | |
public static final String THREAD_POOL_SIZE = "threadPool.size"; |
81 | |
|
82 | |
public static final String BAM_ENABLED = "bam.enabled"; |
83 | |
|
84 | |
public static final String EMBEDDED_PLUGIN_LOCATIAON = "embedded.plugin.location"; |
85 | |
|
86 | |
public static final String DATASOURCE_PLATFORM = "datasource.platform"; |
87 | |
|
88 | |
public static final String OJB_PLATFORM = "datasource.ojb.platform"; |
89 | |
|
90 | |
public static final String NODE_PROPERTIES_PATH = "node.properties.path"; |
91 | |
|
92 | |
public static final String DATASOURCE_OJB_SEQUENCE_MANAGER = "datasource.ojb.sequenceManager"; |
93 | |
public static final String DATASOURCE_OJB_SEQUENCE_MANAGER_CLASS = "datasource.ojb.sequenceManager.className"; |
94 | |
public static final String DATASOURCE_DRIVER_NAME = "datasource.driver.name"; |
95 | |
public static final String DATASOURCE_URL = "datasource.url"; |
96 | |
public static final String DATASOURCE_POOL_SIZE = "datasource.pool.size"; |
97 | |
public static final String DATASOURCE_POOL_MIN_SIZE = "datasource.pool.minSize"; |
98 | |
public static final String DATASOURCE_POOL_MAX_SIZE = "datasource.pool.maxSize"; |
99 | |
public static final String DATASOURCE_POOL_MAXWAIT = "datasource.pool.maxWait"; |
100 | |
public static final String DATASOURCE_POOL_VALIDATION_QUERY = "datasource.pool.validationQuery"; |
101 | |
public static final String DATASOURCE_USERNAME = "datasource.username"; |
102 | |
public static final String DATASOURCE_PASSWORD = "datasource.password"; |
103 | |
|
104 | |
|
105 | |
|
106 | |
|
107 | |
public static final String KEW_URL = "kew.url"; |
108 | |
|
109 | |
|
110 | |
|
111 | |
|
112 | |
public static final String KR_URL = "kr.url"; |
113 | |
|
114 | |
|
115 | |
|
116 | |
|
117 | |
public static final String KIM_URL = "kim.url"; |
118 | |
|
119 | |
|
120 | |
|
121 | |
|
122 | |
public static final String KEN_URL = "ken.url"; |
123 | |
|
124 | |
public static final String DEFAULT_KEW_NOTE_CLASS = "default.kew.note.class"; |
125 | |
public static final String M_BEANS = "mBeans"; |
126 | |
public static final String ALT_SPRING_FILE = "config.spring.file"; |
127 | |
public static final String ALT_OJB_FILE = "config.obj.file"; |
128 | |
|
129 | |
|
130 | |
public static final String SERVICE_SERVLET_URL = "serviceServletUrl"; |
131 | |
public static final String MESSAGE_PERSISTENCE = "message.persistence"; |
132 | |
public static final String REFRESH_RATE = "bus.refresh.rate"; |
133 | |
public static final String DEV_MODE = "dev.mode"; |
134 | |
public static final String BATCH_MODE = "rice.ksb.batch.mode"; |
135 | |
|
136 | |
public static final String CREDENTIALS_SOURCE_FACTORY = "credentialsSourceFactory"; |
137 | |
|
138 | |
public static final String EMBEDDED_PLUGIN_DEFAULT_CURRENT_CLASS_LOADER = "embedded.plugin.default.current.classloader"; |
139 | |
|
140 | |
public static final String FIRST_DAILY_EMAIL_DELIVERY_DATE = "email.daily.firstDeliveryDate"; |
141 | |
public static final String FIRST_WEEKLY_EMAIL_DELIVERY_DATE = "email.weekly.firstDeliveryDate"; |
142 | |
|
143 | |
public static final String ENABLE_EMAIL_REMINDER_LIFECYCLE = "email.reminder.lifecycle.enabled"; |
144 | |
public static final String ENABLE_XML_PIPELINE_LIFECYCLE = "xml.pipeline.lifecycle.enabled"; |
145 | |
|
146 | |
public static final String OUT_BOX_MODE = "actionlist.outbox"; |
147 | |
|
148 | |
public void parseConfig() throws IOException; |
149 | |
|
150 | |
public String getDailyEmailFirstDeliveryDate(); |
151 | |
|
152 | |
public String getWeeklyEmailFirstDeliveryDate(); |
153 | |
|
154 | |
|
155 | |
|
156 | |
|
157 | |
|
158 | |
|
159 | |
public Properties getProperties(); |
160 | |
|
161 | |
public String getProperty(String key); |
162 | |
|
163 | |
public boolean getBooleanProperty(String key, boolean defaultValue); |
164 | |
|
165 | |
public Map<String, String> getPropertiesWithPrefix(String prefix, boolean stripPrefix); |
166 | |
|
167 | |
public Map<String, Object> getObjects(); |
168 | |
|
169 | |
public Object getObject(String key); |
170 | |
|
171 | |
public String getBaseWebServiceURL(); |
172 | |
|
173 | |
public String getBaseWebServiceWsdlPath(); |
174 | |
|
175 | |
public String getClientWSDLFullPathAndFileName(); |
176 | |
|
177 | |
public String getWebServicesConnectRetry(); |
178 | |
|
179 | |
|
180 | |
|
181 | |
|
182 | |
public String getKEWBaseURL(); |
183 | |
|
184 | |
|
185 | |
|
186 | |
|
187 | |
public String getKIMBaseURL(); |
188 | |
|
189 | |
|
190 | |
|
191 | |
|
192 | |
public String getKRBaseURL(); |
193 | |
|
194 | |
|
195 | |
|
196 | |
|
197 | |
public String getKENBaseURL(); |
198 | |
|
199 | |
public String getLog4jFileLocation(); |
200 | |
|
201 | |
public String getLog4jReloadInterval(); |
202 | |
|
203 | |
public String getTransactionTimeout(); |
204 | |
|
205 | |
public String getEmailConfigurationPath(); |
206 | |
|
207 | |
public String getEnvironment(); |
208 | |
|
209 | |
public String getEDLConfigLocation(); |
210 | |
|
211 | |
public String getDefaultKewNoteClass(); |
212 | |
|
213 | |
public String getEmbeddedPluginLocation(); |
214 | |
|
215 | |
public Integer getRefreshRate(); |
216 | |
|
217 | |
public String getEndPointUrl(); |
218 | |
|
219 | |
public String getAlternateSpringFile(); |
220 | |
|
221 | |
public String getAlternateOJBFile(); |
222 | |
|
223 | |
public String getKeystoreAlias(); |
224 | |
|
225 | |
public String getKeystorePassword(); |
226 | |
|
227 | |
public String getKeystoreFile(); |
228 | |
|
229 | |
public String getDocumentLockTimeout(); |
230 | |
|
231 | |
public Boolean getEmailReminderLifecycleEnabled(); |
232 | |
|
233 | |
public Boolean getXmlPipelineLifeCycleEnabled(); |
234 | |
|
235 | |
public Boolean getDevMode(); |
236 | |
|
237 | |
public Boolean getBatchMode(); |
238 | |
|
239 | |
public Boolean getOutBoxOn(); |
240 | |
|
241 | |
|
242 | |
|
243 | |
|
244 | |
|
245 | |
|
246 | |
|
247 | |
|
248 | |
public void putConfig(Config config); |
249 | |
|
250 | |
public void putProperties(Properties properties); |
251 | |
public void putProperty(String key, String value); |
252 | |
public void removeProperty(String key); |
253 | |
public void putObjects(Map<String, Object> objects); |
254 | |
public void putObject(String key, Object value); |
255 | |
public void removeObject(String key); |
256 | |
} |