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>
32 <!-- ref 'baseMessageSource' into Siman-common\src\spring\globalContext.xml -->
33 <!-- property name="parentMessageSource" ref="baseMessageSource"/ -->
35 <bean id="exceptionAction" class="org.splat.simer.ExceptionAction"
38 <bean id="applicationSettings"
39 class="org.splat.simer.ApplicationSettings" scope="session">
40 <property name="projectSettings" ref="projectSettings" />
41 <property name="documentTypeService" ref="documentTypeService" />
44 <bean id="redirectOnEndOfSessionInterceptor"
45 class="org.splat.simer.SimanRedirectOnEndOfSessionInterceptor">
46 <property name="globalResult" value="home" />
49 <bean id="menuBarSettings" class="org.splat.simer.MenuBarSettings"
53 <bean id="titleBarSettings" class="org.splat.simer.TitleBarSettings"
57 <bean id="toolBarSettings" class="org.splat.simer.ToolBarSettings"
61 <bean id="leftMenuSettings" class="org.splat.simer.LeftMenuSettings"
65 <bean id="slidMenu" scope="session" abstract="true">
66 <property name="projectElementService"
67 ref="projectElementService" />
68 <property name="scenarioService" ref="scenarioService" />
71 <bean id="studyMenu" class="org.splat.simer.StudyMenu"
72 scope="session" parent="slidMenu" />
74 <bean id="newScenarioMenu" class="org.splat.simer.NewScenarioMenu"
75 scope="session" parent="slidMenu" />
77 <bean id="openObject" abstract="true"
78 class="org.splat.simer.AbstractOpenObject" scope="session">
79 <property name="applicationSettings" ref="applicationSettings" />
80 <property name="projectElementService"
81 ref="projectElementService" />
82 <property name="projectSettings" ref="projectSettings" />
83 <property name="knowledgeElementTypeService"
84 ref="knowledgeElementTypeService" />
85 <property name="publicationService" ref="publicationService" />
88 <bean id="openStudy" class="org.splat.simer.OpenStudy"
89 parent="openObject" scope="session">
90 <property name="projectElementService"
91 ref="projectElementService" />
92 <property name="studyService" ref="studyService" />
93 <property name="stepService" ref="stepService" />
94 <property name="repositoryService" ref="repositoryService" />
95 <property name="menu" ref="studyMenu" />
96 <property name="documentTypeService" ref="documentTypeService" />
97 <property name="documentService" ref="documentService" />
100 <bean id="openKnowledge" class="org.splat.simer.OpenKnowledge"
101 parent="openObject" scope="session">
104 <bean id="invalidateAction" class="org.splat.simer.InvalidateAction"/>
106 <bean id="baseAction" class="org.splat.simer.Action"
107 scope="prototype" abstract="true">
108 <property name="applicationSettings" ref="applicationSettings" />
109 <property name="openStudy" ref="openStudy" />
110 <property name="openKnowledge" ref="openKnowledge" />
111 <property name="menuBarSettings" ref="menuBarSettings" />
112 <property name="titleBarSettings" ref="titleBarSettings" />
113 <property name="toolBarSettings" ref="toolBarSettings" />
114 <property name="leftMenuSettings" ref="leftMenuSettings" />
117 <!--========= Inherited from baseAction ========= -->
119 <bean id="newStudyAction" class="org.splat.simer.NewStudyAction"
120 parent="baseAction" scope="prototype">
121 <property name="simulationContextService"
122 ref="simulationContextService" />
123 <property name="scenarioService" ref="scenarioService" />
126 <bean id="newScenarioAction"
127 class="org.splat.simer.NewScenarioAction" parent="baseAction"
129 <property name="projectElementService"
130 ref="projectElementService" />
131 <property name="scenarioService" ref="scenarioService" />
132 <property name="menu" ref="newScenarioMenu" />
135 <bean id="checkoutAction" class="org.splat.simer.CheckoutAction"
137 <property name="scenarioService" ref="scenarioService" />
140 <bean id="importDocumentAction"
141 class="org.splat.simer.ImportDocumentAction" scope="prototype"
143 <property name="stepService" ref="stepService" />
144 <property name="projectSettings" ref="projectSettings" />
145 <property name="publicationService" ref="publicationService" />
146 <property name="repositoryService" ref="repositoryService" />
147 <property name="documentService" ref="documentService" />
148 <property name="documentTypeService" ref="documentTypeService" />
151 <bean id="displayStudyStepAction"
152 class="org.splat.simer.DisplayStudyStepAction" parent="baseAction"
154 <property name="studyService" ref="studyService" />
157 <!--========= Inherited from displayStudyStepAction ========= -->
159 <bean id="studyPropertiesAction"
160 class="org.splat.simer.StudyPropertiesAction" scope="prototype"
161 parent="displayStudyStepAction">
162 <property name="documentTypeService" ref="documentTypeService" />
163 <property name="userService" ref="userService" />
166 <bean id="editStudyAction" class="org.splat.simer.EditStudyAction"
167 scope="prototype" parent="displayStudyStepAction">
168 <property name="studyService" ref="studyService" />
171 <bean id="editScenarioPropertiesAction"
172 class="org.splat.simer.EditScenarioPropertiesAction" scope="prototype"
173 parent="displayStudyStepAction">
174 <property name="projectElementService"
175 ref="projectElementService" />
176 <property name="scenarioService" ref="scenarioService" />
179 <bean id="editSimulationContextAction"
180 class="org.splat.simer.EditSimulationContextAction" scope="prototype"
181 parent="displayStudyStepAction">
182 <property name="stepService" ref="stepService" />
183 <property name="simulationContextService"
184 ref="simulationContextService" />
185 <property name="simulationContextTypeService"
186 ref="simulationContextTypeService" />
189 <bean id="editDocumentAction"
190 class="org.splat.simer.EditDocumentAction" scope="prototype"
191 parent="displayStudyStepAction">
192 <property name="stepService" ref="stepService" />
193 <property name="publicationService" ref="publicationService" />
194 <property name="repositoryService" ref="repositoryService" />
197 <bean id="editKnowledgeElementAction"
198 class="org.splat.simer.EditKnowledgeElementAction" scope="prototype"
199 parent="displayStudyStepAction">
200 <property name="knowledgeElementService"
201 ref="knowledgeElementService" />
202 <property name="knowledgeElementTypeService"
203 ref="knowledgeElementTypeService" />
204 <property name="scenarioService" ref="scenarioService" />
207 <!-- End of Inherited from displayStudyStepAction -->
209 <bean id="startAction" class="org.splat.simer.StartAction"
210 scope="prototype" parent="baseAction">
211 <property name="applicationSettings" ref="applicationSettings" />
212 <property name="projectSettings" ref="projectSettings" />
214 <bean id="connectionAction" class="org.splat.simer.ConnectionAction"
215 scope="prototype" parent="baseAction">
218 <bean id="menuAction" class="org.splat.simer.MenuAction"
219 scope="prototype" parent="baseAction">
222 <bean id="notYetImplementedAction"
223 class="org.splat.simer.NotYetImplementedAction" scope="prototype"
227 <bean id="searchStudyAction"
228 class="org.splat.simer.SearchStudyAction" scope="prototype"
230 <property name="projectSettings" ref="projectSettings" />
231 <property name="searchService" ref="searchService" />
232 <property name="simulationContextService"
233 ref="simulationContextService" />
234 <property name="userService" ref="userService" />
237 <bean id="searchKnowledgeAction"
238 class="org.splat.simer.SearchKnowledgeAction" scope="prototype"
240 <property name="searchService" ref="searchService" />
241 <property name="simulationContextService"
242 ref="simulationContextService" />
243 <property name="knowledgeElementTypeService"
244 ref="knowledgeElementTypeService" />
245 <property name="userService" ref="userService" />
248 <bean id="searchDocumentAction"
249 class="org.splat.simer.SearchDocumentAction" scope="prototype">
252 <bean id="displayKnowledgeAction"
253 class="org.splat.simer.DisplayKnowledgeAction" scope="prototype"
255 <property name="knowledgeElementService"
256 ref="knowledgeElementService" />
259 <bean id="uploadAction" class="org.splat.simer.UploadAction"
260 scope="prototype" parent="baseAction">
261 <property name="repositoryService" ref="repositoryService" />
264 <bean id="uploadStudyAction"
265 class="org.splat.simer.UploadStudyAction" scope="prototype"
269 <bean id="versionDocumentAction"
270 class="org.splat.simer.VersionDocumentAction" scope="prototype"
272 <property name="projectSettings" ref="projectSettings" />
273 <property name="publicationService" ref="publicationService" />
274 <property name="stepService" ref="stepService" />
275 <property name="repositoryService" ref="repositoryService" />
278 <bean id="databaseIndexingAction"
279 class="org.splat.simer.admin.DatabaseIndexingAction" scope="prototype"
281 <property name="searchService" ref="searchService" />
284 <bean id="importUserAction"
285 class="org.splat.simer.admin.ImportUserAction" scope="prototype"
287 <property name="repositoryService" ref="repositoryService" />
288 <property name="userService" ref="userService" />
291 <bean id="simulationContextAction"
292 class="org.splat.simer.admin.SimulationContextAction"
293 scope="prototype" parent="baseAction">
294 <property name="knowledgeElementService"
295 ref="knowledgeElementService" />
296 <property name="searchService" ref="searchService" />
297 <property name="projectSettings" ref="projectSettings" />
298 <property name="simulationContextService"
299 ref="simulationContextService" />
302 <bean id="knowledgeElementAction"
303 class="org.splat.simer.admin.KnowledgeElementAction"