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="simanContext" value="#New_Study_.htm"/>
120 <property name="simulationContextService"
121 ref="simulationContextService" />
122 <property name="scenarioService" ref="scenarioService" />
125 <bean id="copyStudyAction" class="org.splat.simer.CopyStudyAction"
126 parent="newStudyAction" scope="prototype">
127 <property name="searchService" ref="searchService" />
128 <property name="stepsConfigService" ref="stepsConfigService" />
131 <bean id="newScenarioAction"
132 class="org.splat.simer.NewScenarioAction" parent="baseAction"
134 <property name="projectElementService"
135 ref="projectElementService" />
136 <property name="simanContext" value="#Add_Scenario.htm"/>
137 <property name="scenarioService" ref="scenarioService" />
138 <property name="menu" ref="newScenarioMenu" />
141 <bean id="checkoutAction" class="org.splat.simer.CheckoutAction"
143 <property name="scenarioService" ref="scenarioService" />
146 <bean id="importDocumentAction"
147 class="org.splat.simer.ImportDocumentAction" scope="prototype"
149 <property name="studyService" ref="studyService" />
150 <property name="stepService" ref="stepService" />
151 <property name="projectSettings" ref="projectSettings" />
152 <property name="publicationService" ref="publicationService" />
153 <property name="repositoryService" ref="repositoryService" />
154 <property name="documentService" ref="documentService" />
155 <property name="documentTypeService" ref="documentTypeService" />
158 <bean id="displayStudyStepAction"
159 class="org.splat.simer.DisplayStudyStepAction" parent="baseAction"
161 <property name="simanContext" value="#Edit_Study_.htm"/>
162 <property name="studyService" ref="studyService" />
165 <bean id="removeStudyAction"
166 class="org.splat.simer.RemoveStudyAction" scope="prototype"
168 <property name="studyService" ref="studyService" />
171 <!--========= Inherited from displayStudyStepAction ========= -->
173 <bean id="studyPropertiesAction"
174 class="org.splat.simer.StudyPropertiesAction" scope="prototype"
175 parent="displayStudyStepAction">
176 <property name="simanContext" value="#Configure_Study.htm"/>
177 <property name="documentTypeService" ref="documentTypeService" />
178 <property name="userService" ref="userService" />
181 <bean id="editStudyAction" class="org.splat.simer.EditStudyAction"
182 scope="prototype" parent="displayStudyStepAction" />
184 <bean id="editScenarioPropertiesAction"
185 class="org.splat.simer.EditScenarioPropertiesAction" scope="prototype"
186 parent="displayStudyStepAction">
187 <property name="simanContext" value="#Configure_Study.htm"/>
188 <property name="projectElementService"
189 ref="projectElementService" />
190 <property name="scenarioService" ref="scenarioService" />
193 <bean id="editSimulationContextAction"
194 class="org.splat.simer.EditSimulationContextAction" scope="prototype"
195 parent="displayStudyStepAction">
196 <property name="stepService" ref="stepService" />
197 <property name="simulationContextService"
198 ref="simulationContextService" />
199 <property name="simulationContextTypeService"
200 ref="simulationContextTypeService" />
203 <bean id="editDocumentAction"
204 class="org.splat.simer.EditDocumentAction" scope="prototype"
205 parent="displayStudyStepAction">
206 <property name="stepService" ref="stepService" />
207 <property name="publicationService" ref="publicationService" />
208 <property name="repositoryService" ref="repositoryService" />
211 <bean id="editKnowledgeElementAction"
212 class="org.splat.simer.EditKnowledgeElementAction" scope="prototype"
213 parent="displayStudyStepAction">
214 <property name="knowledgeElementService"
215 ref="knowledgeElementService" />
216 <property name="knowledgeElementTypeService"
217 ref="knowledgeElementTypeService" />
218 <property name="scenarioService" ref="scenarioService" />
221 <bean id="editStepCommentAction"
222 class="org.splat.simer.EditStepCommentAction" scope="prototype"
223 parent="displayStudyStepAction">
224 <property name="stepService" ref="stepService" />
227 <bean id="editStudyDescriptionAction"
228 class="org.splat.simer.EditStudyDescriptionAction" scope="prototype"
229 parent="displayStudyStepAction" />
231 <bean id="CompareStudyAction"
232 class="org.splat.simer.CompareStudyAction" scope="prototype"
233 parent="displayStudyStepAction">
234 <property name="publicationService" ref="publicationService" />
235 <property name="simanContext" value="#Compare_Studies.htm"/>
236 <property name="studyComparisonService" ref="studyComparisonService" />
239 <!-- End of Inherited from displayStudyStepAction -->
241 <bean id="startAction" class="org.splat.simer.StartAction"
242 scope="prototype" parent="baseAction" />
244 <bean id="connectionAction" class="org.splat.simer.ConnectionAction"
245 scope="prototype" parent="baseAction">
246 <property name="simanContext" value="#User_s_Roles_.htm"/>
249 <bean id="menuAction" class="org.splat.simer.MenuAction"
250 scope="prototype" parent="baseAction" />
252 <bean id="notYetImplementedAction"
253 class="org.splat.simer.NotYetImplementedAction" scope="prototype"
254 parent="baseAction" />
256 <bean id="searchStudyAction"
257 class="org.splat.simer.SearchStudyAction" scope="prototype"
259 <property name="simanContext" value="#Open_Study_.htm"/>
260 <property name="stepsConfigService" ref="stepsConfigService" />
261 <property name="searchService" ref="searchService" />
262 <property name="simulationContextService"
263 ref="simulationContextService" />
264 <property name="userService" ref="userService" />
267 <bean id="searchKnowledgeAction"
268 class="org.splat.simer.SearchKnowledgeAction" scope="prototype"
270 <property name="searchService" ref="searchService" />
271 <property name="simulationContextService"
272 ref="simulationContextService" />
273 <property name="knowledgeElementTypeService"
274 ref="knowledgeElementTypeService" />
275 <property name="userService" ref="userService" />
278 <bean id="searchDocumentAction"
279 class="org.splat.simer.SearchDocumentAction" scope="prototype" />
281 <bean id="displayKnowledgeAction"
282 class="org.splat.simer.DisplayKnowledgeAction" scope="prototype"
284 <property name="knowledgeElementService"
285 ref="knowledgeElementService" />
288 <bean id="uploadAction" class="org.splat.simer.UploadAction"
289 scope="prototype" parent="baseAction">
290 <property name="repositoryService" ref="repositoryService" />
293 <bean id="uploadStudyAction"
294 class="org.splat.simer.UploadStudyAction" scope="prototype"
295 parent="baseAction" />
297 <bean id="versionDocumentAction"
298 class="org.splat.simer.VersionDocumentAction" scope="prototype"
300 <property name="projectSettings" ref="projectSettings" />
301 <property name="publicationService" ref="publicationService" />
302 <property name="stepService" ref="stepService" />
303 <property name="studyService" ref="studyService" />
304 <property name="repositoryService" ref="repositoryService" />
307 <bean id="databaseIndexingAction"
308 class="org.splat.simer.admin.DatabaseIndexingAction" scope="prototype"
310 <property name="simanContext" value="#Database_Management.htm"/>
311 <property name="searchService" ref="searchService" />
314 <bean id="importUserAction"
315 class="org.splat.simer.admin.ImportUserAction" scope="prototype"
317 <property name="simanContext" value="#Database_Management.htm"/>
318 <property name="repositoryService" ref="repositoryService" />
319 <property name="userService" ref="userService" />
322 <bean id="simulationContextAction"
323 class="org.splat.simer.admin.SimulationContextAction"
324 scope="prototype" parent="baseAction">
325 <property name="knowledgeElementService"
326 ref="knowledgeElementService" />
327 <property name="searchService" ref="searchService" />
328 <property name="projectSettings" ref="projectSettings" />
329 <property name="simulationContextService"
330 ref="simulationContextService" />
333 <bean id="knowledgeElementAction"
334 class="org.splat.simer.admin.KnowledgeElementAction"