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>
33 <!-- ref 'baseMessageSource' into Siman-common\src\spring\globalContext.xml -->
34 <!-- property name="parentMessageSource" ref="baseMessageSource"/ -->
36 <bean id="exceptionAction" class="org.splat.simer.ExceptionAction"
39 <bean id="applicationSettings"
40 class="org.splat.simer.ApplicationSettings" scope="session">
41 <property name="projectSettings" ref="projectSettings" />
42 <property name="documentTypeService" ref="documentTypeService" />
45 <bean id="redirectOnEndOfSessionInterceptor"
46 class="org.splat.simer.SimanRedirectOnEndOfSessionInterceptor">
47 <property name="globalResult" value="home" />
50 <bean id="menuBarSettings" class="org.splat.simer.MenuBarSettings"
54 <bean id="titleBarSettings" class="org.splat.simer.TitleBarSettings"
58 <bean id="toolBarSettings" class="org.splat.simer.ToolBarSettings"
62 <bean id="leftMenuSettings" class="org.splat.simer.LeftMenuSettings"
66 <bean id="slidMenu" scope="session" abstract="true">
67 <property name="projectElementService"
68 ref="projectElementService" />
69 <property name="scenarioService" ref="scenarioService" />
72 <bean id="studyMenu" class="org.splat.simer.StudyMenu"
73 scope="session" parent="slidMenu" />
75 <bean id="newScenarioMenu" class="org.splat.simer.NewScenarioMenu"
76 scope="session" parent="slidMenu" />
78 <bean id="openObject" abstract="true"
79 class="org.splat.simer.AbstractOpenObject" scope="session">
80 <property name="applicationSettings" ref="applicationSettings" />
81 <property name="projectElementService"
82 ref="projectElementService" />
83 <property name="projectSettings" ref="projectSettings" />
84 <property name="knowledgeElementTypeService"
85 ref="knowledgeElementTypeService" />
86 <property name="publicationService" ref="publicationService" />
89 <bean id="openStudy" class="org.splat.simer.OpenStudy"
90 parent="openObject" scope="session">
91 <property name="projectElementService"
92 ref="projectElementService" />
93 <property name="studyService" ref="studyService" />
94 <property name="stepService" ref="stepService" />
95 <property name="repositoryService" ref="repositoryService" />
96 <property name="menu" ref="studyMenu" />
97 <property name="documentTypeService" ref="documentTypeService" />
98 <property name="documentService" ref="documentService" />
101 <bean id="openKnowledge" class="org.splat.simer.OpenKnowledge"
102 parent="openObject" scope="session">
105 <bean id="invalidateAction" class="org.splat.simer.InvalidateAction"/>
107 <bean id="baseAction" class="org.splat.simer.Action"
108 scope="prototype" abstract="true">
109 <property name="applicationSettings" ref="applicationSettings" />
110 <property name="openStudy" ref="openStudy" />
111 <property name="openKnowledge" ref="openKnowledge" />
112 <property name="menuBarSettings" ref="menuBarSettings" />
113 <property name="titleBarSettings" ref="titleBarSettings" />
114 <property name="toolBarSettings" ref="toolBarSettings" />
115 <property name="leftMenuSettings" ref="leftMenuSettings" />
118 <!--========= Inherited from baseAction ========= -->
120 <bean id="newStudyAction" class="org.splat.simer.NewStudyAction"
121 parent="baseAction" scope="prototype">
122 <property name="simulationContextService"
123 ref="simulationContextService" />
124 <property name="scenarioService" ref="scenarioService" />
127 <bean id="newScenarioAction"
128 class="org.splat.simer.NewScenarioAction" parent="baseAction"
130 <property name="projectElementService"
131 ref="projectElementService" />
132 <property name="scenarioService" ref="scenarioService" />
133 <property name="menu" ref="newScenarioMenu" />
136 <bean id="checkoutAction" class="org.splat.simer.CheckoutAction"
138 <property name="scenarioService" ref="scenarioService" />
141 <bean id="importDocumentAction"
142 class="org.splat.simer.ImportDocumentAction" scope="prototype"
144 <property name="studyService" ref="studyService" />
145 <property name="stepService" ref="stepService" />
146 <property name="projectSettings" ref="projectSettings" />
147 <property name="publicationService" ref="publicationService" />
148 <property name="repositoryService" ref="repositoryService" />
149 <property name="documentService" ref="documentService" />
150 <property name="documentTypeService" ref="documentTypeService" />
153 <bean id="displayStudyStepAction"
154 class="org.splat.simer.DisplayStudyStepAction" parent="baseAction"
156 <property name="studyService" ref="studyService" />
159 <bean id="removeStudyAction" class="org.splat.simer.RemoveStudyAction"
160 scope="prototype" parent="baseAction">
161 <property name="studyService" ref="studyService" />
164 <!--========= Inherited from displayStudyStepAction ========= -->
166 <bean id="studyPropertiesAction"
167 class="org.splat.simer.StudyPropertiesAction" scope="prototype"
168 parent="displayStudyStepAction">
169 <property name="documentTypeService" ref="documentTypeService" />
170 <property name="userService" ref="userService" />
173 <bean id="editStudyAction" class="org.splat.simer.EditStudyAction"
174 scope="prototype" parent="displayStudyStepAction">
177 <bean id="editScenarioPropertiesAction"
178 class="org.splat.simer.EditScenarioPropertiesAction" scope="prototype"
179 parent="displayStudyStepAction">
180 <property name="projectElementService"
181 ref="projectElementService" />
182 <property name="scenarioService" ref="scenarioService" />
185 <bean id="editSimulationContextAction"
186 class="org.splat.simer.EditSimulationContextAction" scope="prototype"
187 parent="displayStudyStepAction">
188 <property name="stepService" ref="stepService" />
189 <property name="simulationContextService"
190 ref="simulationContextService" />
191 <property name="simulationContextTypeService"
192 ref="simulationContextTypeService" />
195 <bean id="editDocumentAction"
196 class="org.splat.simer.EditDocumentAction" scope="prototype"
197 parent="displayStudyStepAction">
198 <property name="stepService" ref="stepService" />
199 <property name="publicationService" ref="publicationService" />
200 <property name="repositoryService" ref="repositoryService" />
203 <bean id="editKnowledgeElementAction"
204 class="org.splat.simer.EditKnowledgeElementAction" scope="prototype"
205 parent="displayStudyStepAction">
206 <property name="knowledgeElementService"
207 ref="knowledgeElementService" />
208 <property name="knowledgeElementTypeService"
209 ref="knowledgeElementTypeService" />
210 <property name="scenarioService" ref="scenarioService" />
213 <bean id="editStepCommentAction"
214 class="org.splat.simer.EditStepCommentAction" scope="prototype"
215 parent="displayStudyStepAction">
216 <property name="stepService" ref="stepService" />
219 <bean id="editStudyDescriptionAction"
220 class="org.splat.simer.EditStudyDescriptionAction" scope="prototype"
221 parent="displayStudyStepAction">
225 <!-- bean id="CompareStudyAction"
226 class="org.splat.simer.CompareStudyAction" scope="prototype"
227 parent="displayStudyStepAction">
228 <property name="studyService" ref="studyService" />
231 <!-- End of Inherited from displayStudyStepAction -->
233 <bean id="startAction" class="org.splat.simer.StartAction"
234 scope="prototype" parent="baseAction">
235 <property name="applicationSettings" ref="applicationSettings" />
236 <property name="projectSettings" ref="projectSettings" />
238 <bean id="connectionAction" class="org.splat.simer.ConnectionAction"
239 scope="prototype" parent="baseAction">
242 <bean id="menuAction" class="org.splat.simer.MenuAction"
243 scope="prototype" parent="baseAction">
246 <bean id="notYetImplementedAction"
247 class="org.splat.simer.NotYetImplementedAction" scope="prototype"
251 <bean id="searchStudyAction"
252 class="org.splat.simer.SearchStudyAction" scope="prototype"
254 <property name="projectSettings" ref="projectSettings" />
255 <property name="searchService" ref="searchService" />
256 <property name="simulationContextService"
257 ref="simulationContextService" />
258 <property name="userService" ref="userService" />
261 <bean id="searchKnowledgeAction"
262 class="org.splat.simer.SearchKnowledgeAction" scope="prototype"
264 <property name="searchService" ref="searchService" />
265 <property name="simulationContextService"
266 ref="simulationContextService" />
267 <property name="knowledgeElementTypeService"
268 ref="knowledgeElementTypeService" />
269 <property name="userService" ref="userService" />
272 <bean id="searchDocumentAction"
273 class="org.splat.simer.SearchDocumentAction" scope="prototype">
276 <bean id="displayKnowledgeAction"
277 class="org.splat.simer.DisplayKnowledgeAction" scope="prototype"
279 <property name="knowledgeElementService"
280 ref="knowledgeElementService" />
283 <bean id="uploadAction" class="org.splat.simer.UploadAction"
284 scope="prototype" parent="baseAction">
285 <property name="repositoryService" ref="repositoryService" />
288 <bean id="uploadStudyAction"
289 class="org.splat.simer.UploadStudyAction" scope="prototype"
293 <bean id="versionDocumentAction"
294 class="org.splat.simer.VersionDocumentAction" scope="prototype"
296 <property name="projectSettings" ref="projectSettings" />
297 <property name="publicationService" ref="publicationService" />
298 <property name="stepService" ref="stepService" />
299 <property name="studyService" ref="studyService" />
300 <property name="repositoryService" ref="repositoryService" />
303 <bean id="databaseIndexingAction"
304 class="org.splat.simer.admin.DatabaseIndexingAction" scope="prototype"
306 <property name="searchService" ref="searchService" />
309 <bean id="importUserAction"
310 class="org.splat.simer.admin.ImportUserAction" scope="prototype"
312 <property name="repositoryService" ref="repositoryService" />
313 <property name="userService" ref="userService" />
316 <bean id="simulationContextAction"
317 class="org.splat.simer.admin.SimulationContextAction"
318 scope="prototype" parent="baseAction">
319 <property name="knowledgeElementService"
320 ref="knowledgeElementService" />
321 <property name="searchService" ref="searchService" />
322 <property name="projectSettings" ref="projectSettings" />
323 <property name="simulationContextService"
324 ref="simulationContextService" />
327 <bean id="knowledgeElementAction"
328 class="org.splat.simer.admin.KnowledgeElementAction"