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 <!--========= Inherited from displayStudyStepAction ========= -->
161 <bean id="studyPropertiesAction"
162 class="org.splat.simer.StudyPropertiesAction" scope="prototype"
163 parent="displayStudyStepAction">
164 <property name="documentTypeService" ref="documentTypeService" />
165 <property name="userService" ref="userService" />
168 <bean id="editStudyAction" class="org.splat.simer.EditStudyAction"
169 scope="prototype" parent="displayStudyStepAction">
170 <property name="studyService" ref="studyService" />
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">
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">
231 <property name="applicationSettings" ref="applicationSettings" />
232 <property name="projectSettings" ref="projectSettings" />
234 <bean id="connectionAction" class="org.splat.simer.ConnectionAction"
235 scope="prototype" parent="baseAction">
238 <bean id="menuAction" class="org.splat.simer.MenuAction"
239 scope="prototype" parent="baseAction">
242 <bean id="notYetImplementedAction"
243 class="org.splat.simer.NotYetImplementedAction" scope="prototype"
247 <bean id="searchStudyAction"
248 class="org.splat.simer.SearchStudyAction" scope="prototype"
250 <property name="projectSettings" ref="projectSettings" />
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">
272 <bean id="displayKnowledgeAction"
273 class="org.splat.simer.DisplayKnowledgeAction" scope="prototype"
275 <property name="knowledgeElementService"
276 ref="knowledgeElementService" />
279 <bean id="uploadAction" class="org.splat.simer.UploadAction"
280 scope="prototype" parent="baseAction">
281 <property name="repositoryService" ref="repositoryService" />
284 <bean id="uploadStudyAction"
285 class="org.splat.simer.UploadStudyAction" scope="prototype"
289 <bean id="versionDocumentAction"
290 class="org.splat.simer.VersionDocumentAction" scope="prototype"
292 <property name="projectSettings" ref="projectSettings" />
293 <property name="publicationService" ref="publicationService" />
294 <property name="stepService" ref="stepService" />
295 <property name="repositoryService" ref="repositoryService" />
298 <bean id="databaseIndexingAction"
299 class="org.splat.simer.admin.DatabaseIndexingAction" scope="prototype"
301 <property name="searchService" ref="searchService" />
304 <bean id="importUserAction"
305 class="org.splat.simer.admin.ImportUserAction" scope="prototype"
307 <property name="repositoryService" ref="repositoryService" />
308 <property name="userService" ref="userService" />
311 <bean id="simulationContextAction"
312 class="org.splat.simer.admin.SimulationContextAction"
313 scope="prototype" parent="baseAction">
314 <property name="knowledgeElementService"
315 ref="knowledgeElementService" />
316 <property name="searchService" ref="searchService" />
317 <property name="projectSettings" ref="projectSettings" />
318 <property name="simulationContextService"
319 ref="simulationContextService" />
322 <bean id="knowledgeElementAction"
323 class="org.splat.simer.admin.KnowledgeElementAction"