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"
53 <bean id="titleBarSettings" class="org.splat.simer.TitleBarSettings"
56 <bean id="toolBarSettings" class="org.splat.simer.ToolBarSettings"
59 <bean id="leftMenuSettings" class="org.splat.simer.LeftMenuSettings"
62 <bean id="slidMenu" scope="session" abstract="true">
63 <property name="projectElementService"
64 ref="projectElementService" />
65 <property name="scenarioService" ref="scenarioService" />
68 <bean id="studyMenu" class="org.splat.simer.StudyMenu"
69 scope="session" parent="slidMenu" />
71 <bean id="newScenarioMenu" class="org.splat.simer.NewScenarioMenu"
72 scope="session" parent="slidMenu" />
74 <bean id="openObject" abstract="true"
75 class="org.splat.simer.AbstractOpenObject" scope="session">
76 <property name="applicationSettings" ref="applicationSettings" />
77 <property name="projectElementService"
78 ref="projectElementService" />
79 <property name="projectSettings" ref="projectSettings" />
80 <property name="knowledgeElementTypeService"
81 ref="knowledgeElementTypeService" />
82 <property name="publicationService" ref="publicationService" />
85 <bean id="openStudy" class="org.splat.simer.OpenStudy"
86 parent="openObject" scope="session">
87 <property name="projectElementService"
88 ref="projectElementService" />
89 <property name="studyService" ref="studyService" />
90 <property name="stepService" ref="stepService" />
91 <property name="repositoryService" ref="repositoryService" />
92 <property name="menu" ref="studyMenu" />
93 <property name="documentTypeService" ref="documentTypeService" />
94 <property name="documentService" ref="documentService" />
97 <bean id="openKnowledge" class="org.splat.simer.OpenKnowledge"
98 parent="openObject" scope="session" />
100 <bean id="invalidateAction"
101 class="org.splat.simer.InvalidateAction" />
103 <bean id="baseAction" class="org.splat.simer.Action"
104 scope="prototype" abstract="true">
105 <property name="applicationSettings" ref="applicationSettings" />
106 <property name="openStudy" ref="openStudy" />
107 <property name="openKnowledge" ref="openKnowledge" />
108 <property name="menuBarSettings" ref="menuBarSettings" />
109 <property name="titleBarSettings" ref="titleBarSettings" />
110 <property name="toolBarSettings" ref="toolBarSettings" />
111 <property name="leftMenuSettings" ref="leftMenuSettings" />
114 <!--========= Inherited from baseAction ========= -->
116 <bean id="newStudyAction" class="org.splat.simer.NewStudyAction"
117 parent="baseAction" scope="prototype">
118 <property name="simulationContextService"
119 ref="simulationContextService" />
120 <property name="scenarioService" ref="scenarioService" />
123 <bean id="newScenarioAction"
124 class="org.splat.simer.NewScenarioAction" parent="baseAction"
126 <property name="projectElementService"
127 ref="projectElementService" />
128 <property name="scenarioService" ref="scenarioService" />
129 <property name="menu" ref="newScenarioMenu" />
132 <bean id="checkoutAction" class="org.splat.simer.CheckoutAction"
134 <property name="scenarioService" ref="scenarioService" />
137 <bean id="importDocumentAction"
138 class="org.splat.simer.ImportDocumentAction" scope="prototype"
140 <property name="studyService" ref="studyService" />
141 <property name="stepService" ref="stepService" />
142 <property name="projectSettings" ref="projectSettings" />
143 <property name="publicationService" ref="publicationService" />
144 <property name="repositoryService" ref="repositoryService" />
145 <property name="documentService" ref="documentService" />
146 <property name="documentTypeService" ref="documentTypeService" />
149 <bean id="displayStudyStepAction"
150 class="org.splat.simer.DisplayStudyStepAction" parent="baseAction"
152 <property name="studyService" ref="studyService" />
155 <bean id="removeStudyAction"
156 class="org.splat.simer.RemoveStudyAction" scope="prototype"
158 <property name="studyService" ref="studyService" />
161 <!--========= Inherited from displayStudyStepAction ========= -->
163 <bean id="studyPropertiesAction"
164 class="org.splat.simer.StudyPropertiesAction" scope="prototype"
165 parent="displayStudyStepAction">
166 <property name="documentTypeService" ref="documentTypeService" />
167 <property name="userService" ref="userService" />
170 <bean id="editStudyAction" class="org.splat.simer.EditStudyAction"
171 scope="prototype" parent="displayStudyStepAction" />
173 <bean id="editScenarioPropertiesAction"
174 class="org.splat.simer.EditScenarioPropertiesAction" scope="prototype"
175 parent="displayStudyStepAction">
176 <property name="projectElementService"
177 ref="projectElementService" />
178 <property name="scenarioService" ref="scenarioService" />
181 <bean id="editSimulationContextAction"
182 class="org.splat.simer.EditSimulationContextAction" scope="prototype"
183 parent="displayStudyStepAction">
184 <property name="stepService" ref="stepService" />
185 <property name="simulationContextService"
186 ref="simulationContextService" />
187 <property name="simulationContextTypeService"
188 ref="simulationContextTypeService" />
191 <bean id="editDocumentAction"
192 class="org.splat.simer.EditDocumentAction" scope="prototype"
193 parent="displayStudyStepAction">
194 <property name="stepService" ref="stepService" />
195 <property name="publicationService" ref="publicationService" />
196 <property name="repositoryService" ref="repositoryService" />
199 <bean id="editKnowledgeElementAction"
200 class="org.splat.simer.EditKnowledgeElementAction" scope="prototype"
201 parent="displayStudyStepAction">
202 <property name="knowledgeElementService"
203 ref="knowledgeElementService" />
204 <property name="knowledgeElementTypeService"
205 ref="knowledgeElementTypeService" />
206 <property name="scenarioService" ref="scenarioService" />
209 <bean id="editStepCommentAction"
210 class="org.splat.simer.EditStepCommentAction" scope="prototype"
211 parent="displayStudyStepAction">
212 <property name="stepService" ref="stepService" />
215 <bean id="editStudyDescriptionAction"
216 class="org.splat.simer.EditStudyDescriptionAction" scope="prototype"
217 parent="displayStudyStepAction" />
220 <!-- bean id="CompareStudyAction"
221 class="org.splat.simer.CompareStudyAction" scope="prototype"
222 parent="displayStudyStepAction">
223 <property name="studyService" ref="studyService" />
226 <!-- End of Inherited from displayStudyStepAction -->
228 <bean id="startAction" class="org.splat.simer.StartAction"
229 scope="prototype" parent="baseAction" />
231 <bean id="connectionAction" class="org.splat.simer.ConnectionAction"
232 scope="prototype" parent="baseAction" />
234 <bean id="menuAction" class="org.splat.simer.MenuAction"
235 scope="prototype" parent="baseAction" />
237 <bean id="notYetImplementedAction"
238 class="org.splat.simer.NotYetImplementedAction" scope="prototype"
239 parent="baseAction" />
241 <bean id="searchStudyAction"
242 class="org.splat.simer.SearchStudyAction" scope="prototype"
244 <property name="stepsConfigService" ref="stepsConfigService" />
245 <property name="searchService" ref="searchService" />
246 <property name="simulationContextService"
247 ref="simulationContextService" />
248 <property name="userService" ref="userService" />
251 <bean id="searchKnowledgeAction"
252 class="org.splat.simer.SearchKnowledgeAction" scope="prototype"
254 <property name="searchService" ref="searchService" />
255 <property name="simulationContextService"
256 ref="simulationContextService" />
257 <property name="knowledgeElementTypeService"
258 ref="knowledgeElementTypeService" />
259 <property name="userService" ref="userService" />
262 <bean id="searchDocumentAction"
263 class="org.splat.simer.SearchDocumentAction" scope="prototype" />
265 <bean id="displayKnowledgeAction"
266 class="org.splat.simer.DisplayKnowledgeAction" scope="prototype"
268 <property name="knowledgeElementService"
269 ref="knowledgeElementService" />
272 <bean id="uploadAction" class="org.splat.simer.UploadAction"
273 scope="prototype" parent="baseAction">
274 <property name="repositoryService" ref="repositoryService" />
277 <bean id="uploadStudyAction"
278 class="org.splat.simer.UploadStudyAction" scope="prototype"
279 parent="baseAction" />
281 <bean id="versionDocumentAction"
282 class="org.splat.simer.VersionDocumentAction" scope="prototype"
284 <property name="projectSettings" ref="projectSettings" />
285 <property name="publicationService" ref="publicationService" />
286 <property name="stepService" ref="stepService" />
287 <property name="studyService" ref="studyService" />
288 <property name="repositoryService" ref="repositoryService" />
291 <bean id="databaseIndexingAction"
292 class="org.splat.simer.admin.DatabaseIndexingAction" scope="prototype"
294 <property name="searchService" ref="searchService" />
297 <bean id="importUserAction"
298 class="org.splat.simer.admin.ImportUserAction" scope="prototype"
300 <property name="repositoryService" ref="repositoryService" />
301 <property name="userService" ref="userService" />
304 <bean id="simulationContextAction"
305 class="org.splat.simer.admin.SimulationContextAction"
306 scope="prototype" parent="baseAction">
307 <property name="knowledgeElementService"
308 ref="knowledgeElementService" />
309 <property name="searchService" ref="searchService" />
310 <property name="projectSettings" ref="projectSettings" />
311 <property name="simulationContextService"
312 ref="simulationContextService" />
315 <bean id="knowledgeElementAction"
316 class="org.splat.simer.admin.KnowledgeElementAction"