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="newScenarioAction"
125 class="org.splat.simer.NewScenarioAction" parent="baseAction"
127 <property name="projectElementService"
128 ref="projectElementService" />
129 <property name="scenarioService" ref="scenarioService" />
130 <property name="menu" ref="newScenarioMenu" />
133 <bean id="checkoutAction" class="org.splat.simer.CheckoutAction"
135 <property name="scenarioService" ref="scenarioService" />
138 <bean id="importDocumentAction"
139 class="org.splat.simer.ImportDocumentAction" scope="prototype"
141 <property name="studyService" ref="studyService" />
142 <property name="stepService" ref="stepService" />
143 <property name="projectSettings" ref="projectSettings" />
144 <property name="publicationService" ref="publicationService" />
145 <property name="repositoryService" ref="repositoryService" />
146 <property name="documentService" ref="documentService" />
147 <property name="documentTypeService" ref="documentTypeService" />
150 <bean id="displayStudyStepAction"
151 class="org.splat.simer.DisplayStudyStepAction" parent="baseAction"
153 <property name="studyService" ref="studyService" />
156 <bean id="removeStudyAction"
157 class="org.splat.simer.RemoveStudyAction" scope="prototype"
159 <property name="studyService" ref="studyService" />
162 <!--========= Inherited from displayStudyStepAction ========= -->
164 <bean id="studyPropertiesAction"
165 class="org.splat.simer.StudyPropertiesAction" scope="prototype"
166 parent="displayStudyStepAction">
167 <property name="documentTypeService" ref="documentTypeService" />
168 <property name="userService" ref="userService" />
171 <bean id="editStudyAction" class="org.splat.simer.EditStudyAction"
172 scope="prototype" parent="displayStudyStepAction" />
174 <bean id="editScenarioPropertiesAction"
175 class="org.splat.simer.EditScenarioPropertiesAction" scope="prototype"
176 parent="displayStudyStepAction">
177 <property name="projectElementService"
178 ref="projectElementService" />
179 <property name="scenarioService" ref="scenarioService" />
182 <bean id="editSimulationContextAction"
183 class="org.splat.simer.EditSimulationContextAction" scope="prototype"
184 parent="displayStudyStepAction">
185 <property name="stepService" ref="stepService" />
186 <property name="simulationContextService"
187 ref="simulationContextService" />
188 <property name="simulationContextTypeService"
189 ref="simulationContextTypeService" />
192 <bean id="editDocumentAction"
193 class="org.splat.simer.EditDocumentAction" scope="prototype"
194 parent="displayStudyStepAction">
195 <property name="stepService" ref="stepService" />
196 <property name="publicationService" ref="publicationService" />
197 <property name="repositoryService" ref="repositoryService" />
200 <bean id="editKnowledgeElementAction"
201 class="org.splat.simer.EditKnowledgeElementAction" scope="prototype"
202 parent="displayStudyStepAction">
203 <property name="knowledgeElementService"
204 ref="knowledgeElementService" />
205 <property name="knowledgeElementTypeService"
206 ref="knowledgeElementTypeService" />
207 <property name="scenarioService" ref="scenarioService" />
210 <bean id="editStepCommentAction"
211 class="org.splat.simer.EditStepCommentAction" scope="prototype"
212 parent="displayStudyStepAction">
213 <property name="stepService" ref="stepService" />
216 <bean id="editStudyDescriptionAction"
217 class="org.splat.simer.EditStudyDescriptionAction" scope="prototype"
218 parent="displayStudyStepAction" />
221 <!-- bean id="CompareStudyAction"
222 class="org.splat.simer.CompareStudyAction" scope="prototype"
223 parent="displayStudyStepAction">
224 <property name="studyService" ref="studyService" />
227 <!-- End of Inherited from displayStudyStepAction -->
229 <bean id="startAction" class="org.splat.simer.StartAction"
230 scope="prototype" parent="baseAction" />
232 <bean id="connectionAction" class="org.splat.simer.ConnectionAction"
233 scope="prototype" parent="baseAction" />
235 <bean id="menuAction" class="org.splat.simer.MenuAction"
236 scope="prototype" parent="baseAction" />
238 <bean id="notYetImplementedAction"
239 class="org.splat.simer.NotYetImplementedAction" scope="prototype"
240 parent="baseAction" />
242 <bean id="searchStudyAction"
243 class="org.splat.simer.SearchStudyAction" scope="prototype"
245 <property name="stepsConfigService" ref="stepsConfigService" />
246 <property name="searchService" ref="searchService" />
247 <property name="simulationContextService"
248 ref="simulationContextService" />
249 <property name="userService" ref="userService" />
252 <bean id="searchKnowledgeAction"
253 class="org.splat.simer.SearchKnowledgeAction" scope="prototype"
255 <property name="searchService" ref="searchService" />
256 <property name="simulationContextService"
257 ref="simulationContextService" />
258 <property name="knowledgeElementTypeService"
259 ref="knowledgeElementTypeService" />
260 <property name="userService" ref="userService" />
263 <bean id="searchDocumentAction"
264 class="org.splat.simer.SearchDocumentAction" scope="prototype" />
266 <bean id="displayKnowledgeAction"
267 class="org.splat.simer.DisplayKnowledgeAction" scope="prototype"
269 <property name="knowledgeElementService"
270 ref="knowledgeElementService" />
273 <bean id="uploadAction" class="org.splat.simer.UploadAction"
274 scope="prototype" parent="baseAction">
275 <property name="repositoryService" ref="repositoryService" />
278 <bean id="uploadStudyAction"
279 class="org.splat.simer.UploadStudyAction" scope="prototype"
280 parent="baseAction" />
282 <bean id="versionDocumentAction"
283 class="org.splat.simer.VersionDocumentAction" scope="prototype"
285 <property name="projectSettings" ref="projectSettings" />
286 <property name="publicationService" ref="publicationService" />
287 <property name="stepService" ref="stepService" />
288 <property name="studyService" ref="studyService" />
289 <property name="repositoryService" ref="repositoryService" />
292 <bean id="databaseIndexingAction"
293 class="org.splat.simer.admin.DatabaseIndexingAction" scope="prototype"
295 <property name="searchService" ref="searchService" />
298 <bean id="importUserAction"
299 class="org.splat.simer.admin.ImportUserAction" scope="prototype"
301 <property name="repositoryService" ref="repositoryService" />
302 <property name="userService" ref="userService" />
305 <bean id="simulationContextAction"
306 class="org.splat.simer.admin.SimulationContextAction"
307 scope="prototype" parent="baseAction">
308 <property name="knowledgeElementService"
309 ref="knowledgeElementService" />
310 <property name="searchService" ref="searchService" />
311 <property name="projectSettings" ref="projectSettings" />
312 <property name="simulationContextService"
313 ref="simulationContextService" />
316 <bean id="knowledgeElementAction"
317 class="org.splat.simer.admin.KnowledgeElementAction"