1 <?xml version="1.0" encoding="UTF-8"?>
2 <beans xmlns="http://www.springframework.org/schema/beans"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 xmlns:aop="http://www.springframework.org/schema/aop"
5 xmlns:context="http://www.springframework.org/schema/context"
6 xsi:schemaLocation="http://www.springframework.org/schema/beans
7 http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
8 http://www.springframework.org/schema/aop
9 http://www.springframework.org/schema/aop/spring-aop-3.0.xsd
10 http://www.springframework.org/schema/context
11 http://www.springframework.org/schema/context/spring-context-3.0.xsd">
14 <context:property-placeholder
15 location="classpath:siman.properties,classpath:jdbc.properties"
16 ignore-unresolvable="true" />
18 <!-- configuration i18n -->
19 <bean id="i18nUtils" class="org.splat.i18n.I18nUtils">
20 <property name="resourceBundleMessageSource"
21 ref="messageSource" />
24 <bean id="messageSource"
25 class="org.springframework.context.support.ResourceBundleMessageSource">
26 <property name="basenames">
28 <value>conf/log-messages</value>
34 <!-- ref 'baseMessageSource' into Siman-common\src\spring\globalContext.xml -->
35 <!-- property name="parentMessageSource" ref="baseMessageSource"/ -->
37 <bean id="exceptionAction" class="org.splat.simer.ExceptionAction"
40 <bean id="applicationSettings"
41 class="org.splat.simer.ApplicationSettings" scope="session">
42 <property name="projectSettings" ref="projectSettings" />
43 <property name="documentTypeService" ref="documentTypeService" />
46 <bean id="redirectOnEndOfSessionInterceptor"
47 class="org.splat.simer.SimanRedirectOnEndOfSessionInterceptor">
48 <property name="globalResult" value="home" />
51 <bean id="menuBarSettings" class="org.splat.simer.MenuBarSettings"
54 <bean id="titleBarSettings" class="org.splat.simer.TitleBarSettings"
57 <bean id="toolBarSettings" class="org.splat.simer.ToolBarSettings"
60 <bean id="leftMenuSettings" class="org.splat.simer.LeftMenuSettings"
63 <bean id="slidMenu" scope="session" abstract="true">
64 <property name="projectElementService"
65 ref="projectElementService" />
66 <property name="scenarioService" ref="scenarioService" />
69 <bean id="studyMenu" class="org.splat.simer.StudyMenu"
70 scope="session" parent="slidMenu" />
72 <bean id="newScenarioMenu" class="org.splat.simer.NewScenarioMenu"
73 scope="session" parent="slidMenu" />
75 <bean id="openObject" abstract="true"
76 class="org.splat.simer.AbstractOpenObject" scope="session">
77 <property name="applicationSettings" ref="applicationSettings" />
78 <property name="projectElementService"
79 ref="projectElementService" />
80 <property name="projectSettings" ref="projectSettings" />
81 <property name="knowledgeElementTypeService"
82 ref="knowledgeElementTypeService" />
83 <property name="publicationService" ref="publicationService" />
86 <bean id="openStudy" class="org.splat.simer.OpenStudy"
87 parent="openObject" scope="session">
88 <property name="projectElementService"
89 ref="projectElementService" />
90 <property name="studyService" ref="studyService" />
91 <property name="stepService" ref="stepService" />
92 <property name="repositoryService" ref="repositoryService" />
93 <property name="menu" ref="studyMenu" />
94 <property name="documentTypeService" ref="documentTypeService" />
95 <property name="documentService" ref="documentService" />
98 <bean id="openKnowledge" class="org.splat.simer.OpenKnowledge"
99 parent="openObject" scope="session" />
101 <bean id="invalidateAction"
102 class="org.splat.simer.InvalidateAction" />
104 <bean id="baseAction" class="org.splat.simer.Action"
105 scope="prototype" abstract="true">
106 <property name="applicationSettings" ref="applicationSettings" />
107 <property name="openStudy" ref="openStudy" />
108 <property name="openKnowledge" ref="openKnowledge" />
109 <property name="menuBarSettings" ref="menuBarSettings" />
110 <property name="titleBarSettings" ref="titleBarSettings" />
111 <property name="toolBarSettings" ref="toolBarSettings" />
112 <property name="leftMenuSettings" ref="leftMenuSettings" />
115 <!--========= Inherited from baseAction ========= -->
117 <bean id="newStudyAction" class="org.splat.simer.NewStudyAction"
118 parent="baseAction" scope="prototype">
119 <property name="simulationContextService"
120 ref="simulationContextService" />
121 <property name="scenarioService" ref="scenarioService" />
124 <bean id="copyStudyAction" class="org.splat.simer.CopyStudyAction"
125 parent="newStudyAction" scope="prototype">
126 <property name="searchService" ref="searchService" />
127 <property name="stepsConfigService" ref="stepsConfigService" />
130 <bean id="newScenarioAction"
131 class="org.splat.simer.NewScenarioAction" parent="baseAction"
133 <property name="projectElementService"
134 ref="projectElementService" />
135 <property name="scenarioService" ref="scenarioService" />
136 <property name="menu" ref="newScenarioMenu" />
139 <bean id="checkoutAction" class="org.splat.simer.CheckoutAction"
141 <property name="scenarioService" ref="scenarioService" />
144 <bean id="importDocumentAction"
145 class="org.splat.simer.ImportDocumentAction" scope="prototype"
147 <property name="studyService" ref="studyService" />
148 <property name="stepService" ref="stepService" />
149 <property name="projectSettings" ref="projectSettings" />
150 <property name="publicationService" ref="publicationService" />
151 <property name="repositoryService" ref="repositoryService" />
152 <property name="documentService" ref="documentService" />
153 <property name="documentTypeService" ref="documentTypeService" />
156 <bean id="displayStudyStepAction"
157 class="org.splat.simer.DisplayStudyStepAction" parent="baseAction"
159 <property name="studyService" ref="studyService" />
162 <bean id="removeStudyAction"
163 class="org.splat.simer.RemoveStudyAction" scope="prototype"
165 <property name="studyService" ref="studyService" />
168 <!--========= Inherited from displayStudyStepAction ========= -->
170 <bean id="studyPropertiesAction"
171 class="org.splat.simer.StudyPropertiesAction" scope="prototype"
172 parent="displayStudyStepAction">
173 <property name="documentTypeService" ref="documentTypeService" />
174 <property name="userService" ref="userService" />
177 <bean id="editStudyAction" class="org.splat.simer.EditStudyAction"
178 scope="prototype" parent="displayStudyStepAction" />
180 <bean id="editScenarioPropertiesAction"
181 class="org.splat.simer.EditScenarioPropertiesAction" scope="prototype"
182 parent="displayStudyStepAction">
183 <property name="projectElementService"
184 ref="projectElementService" />
185 <property name="scenarioService" ref="scenarioService" />
188 <bean id="editSimulationContextAction"
189 class="org.splat.simer.EditSimulationContextAction" scope="prototype"
190 parent="displayStudyStepAction">
191 <property name="stepService" ref="stepService" />
192 <property name="simulationContextService"
193 ref="simulationContextService" />
194 <property name="simulationContextTypeService"
195 ref="simulationContextTypeService" />
198 <bean id="editDocumentAction"
199 class="org.splat.simer.EditDocumentAction" scope="prototype"
200 parent="displayStudyStepAction">
201 <property name="stepService" ref="stepService" />
202 <property name="publicationService" ref="publicationService" />
203 <property name="repositoryService" ref="repositoryService" />
206 <bean id="editKnowledgeElementAction"
207 class="org.splat.simer.EditKnowledgeElementAction" scope="prototype"
208 parent="displayStudyStepAction">
209 <property name="knowledgeElementService"
210 ref="knowledgeElementService" />
211 <property name="knowledgeElementTypeService"
212 ref="knowledgeElementTypeService" />
213 <property name="scenarioService" ref="scenarioService" />
216 <bean id="editStepCommentAction"
217 class="org.splat.simer.EditStepCommentAction" scope="prototype"
218 parent="displayStudyStepAction">
219 <property name="stepService" ref="stepService" />
222 <bean id="editStudyDescriptionAction"
223 class="org.splat.simer.EditStudyDescriptionAction" scope="prototype"
224 parent="displayStudyStepAction" />
226 <bean id="CompareStudyAction"
227 class="org.splat.simer.CompareStudyAction" scope="prototype"
228 parent="displayStudyStepAction">
229 <property name="publicationService" ref="publicationService" />
232 <!-- End of Inherited from displayStudyStepAction -->
234 <bean id="startAction" class="org.splat.simer.StartAction"
235 scope="prototype" parent="baseAction" />
237 <bean id="connectionAction" class="org.splat.simer.ConnectionAction"
238 scope="prototype" parent="baseAction" />
240 <bean id="menuAction" class="org.splat.simer.MenuAction"
241 scope="prototype" parent="baseAction" />
243 <bean id="notYetImplementedAction"
244 class="org.splat.simer.NotYetImplementedAction" scope="prototype"
245 parent="baseAction" />
247 <bean id="searchStudyAction"
248 class="org.splat.simer.SearchStudyAction" scope="prototype"
250 <property name="stepsConfigService" ref="stepsConfigService" />
251 <property name="searchService" ref="searchService" />
252 <property name="simulationContextService"
253 ref="simulationContextService" />
254 <property name="userService" ref="userService" />
257 <bean id="searchKnowledgeAction"
258 class="org.splat.simer.SearchKnowledgeAction" scope="prototype"
260 <property name="searchService" ref="searchService" />
261 <property name="simulationContextService"
262 ref="simulationContextService" />
263 <property name="knowledgeElementTypeService"
264 ref="knowledgeElementTypeService" />
265 <property name="userService" ref="userService" />
268 <bean id="searchDocumentAction"
269 class="org.splat.simer.SearchDocumentAction" scope="prototype" />
271 <bean id="displayKnowledgeAction"
272 class="org.splat.simer.DisplayKnowledgeAction" scope="prototype"
274 <property name="knowledgeElementService"
275 ref="knowledgeElementService" />
278 <bean id="uploadAction" class="org.splat.simer.UploadAction"
279 scope="prototype" parent="baseAction">
280 <property name="repositoryService" ref="repositoryService" />
283 <bean id="uploadStudyAction"
284 class="org.splat.simer.UploadStudyAction" scope="prototype"
285 parent="baseAction" />
287 <bean id="versionDocumentAction"
288 class="org.splat.simer.VersionDocumentAction" scope="prototype"
290 <property name="projectSettings" ref="projectSettings" />
291 <property name="publicationService" ref="publicationService" />
292 <property name="stepService" ref="stepService" />
293 <property name="studyService" ref="studyService" />
294 <property name="repositoryService" ref="repositoryService" />
297 <bean id="databaseIndexingAction"
298 class="org.splat.simer.admin.DatabaseIndexingAction" scope="prototype"
300 <property name="searchService" ref="searchService" />
303 <bean id="importUserAction"
304 class="org.splat.simer.admin.ImportUserAction" scope="prototype"
306 <property name="repositoryService" ref="repositoryService" />
307 <property name="userService" ref="userService" />
310 <bean id="simulationContextAction"
311 class="org.splat.simer.admin.SimulationContextAction"
312 scope="prototype" parent="baseAction">
313 <property name="knowledgeElementService"
314 ref="knowledgeElementService" />
315 <property name="searchService" ref="searchService" />
316 <property name="projectSettings" ref="projectSettings" />
317 <property name="simulationContextService"
318 ref="simulationContextService" />
321 <bean id="knowledgeElementAction"
322 class="org.splat.simer.admin.KnowledgeElementAction"