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" />
87 <bean id="openStudy" class="org.splat.simer.OpenStudy"
88 parent="openObject" scope="session">
89 <property name="projectElementService"
90 ref="projectElementService" />
91 <property name="publicationService" ref="publicationService" />
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">
170 <bean id="editScenarioPropertiesAction"
171 class="org.splat.simer.EditScenarioPropertiesAction" scope="prototype"
172 parent="displayStudyStepAction">
173 <property name="projectElementService"
174 ref="projectElementService" />
175 <property name="scenarioService" ref="scenarioService" />
178 <bean id="editSimulationContextAction"
179 class="org.splat.simer.EditSimulationContextAction" scope="prototype"
180 parent="displayStudyStepAction">
181 <property name="stepService" ref="stepService" />
182 <property name="simulationContextService"
183 ref="simulationContextService" />
184 <property name="simulationContextTypeService"
185 ref="simulationContextTypeService" />
188 <bean id="editDocumentAction"
189 class="org.splat.simer.EditDocumentAction" scope="prototype"
190 parent="displayStudyStepAction">
191 <property name="stepService" ref="stepService" />
192 <property name="publicationService" ref="publicationService" />
193 <property name="repositoryService" ref="repositoryService" />
196 <bean id="editKnowledgeElementAction"
197 class="org.splat.simer.EditKnowledgeElementAction" scope="prototype"
198 parent="displayStudyStepAction">
199 <property name="knowledgeElementService"
200 ref="knowledgeElementService" />
201 <property name="knowledgeElementTypeService"
202 ref="knowledgeElementTypeService" />
203 <property name="scenarioService" ref="scenarioService" />
206 <!-- End of Inherited from displayStudyStepAction -->
208 <bean id="startAction" class="org.splat.simer.StartAction"
209 scope="prototype" parent="baseAction">
210 <property name="applicationSettings" ref="applicationSettings" />
211 <property name="projectSettings" ref="projectSettings" />
213 <bean id="connectionAction" class="org.splat.simer.ConnectionAction"
214 scope="prototype" parent="baseAction">
217 <bean id="menuAction" class="org.splat.simer.MenuAction"
218 scope="prototype" parent="baseAction">
221 <bean id="notYetImplementedAction"
222 class="org.splat.simer.NotYetImplementedAction" scope="prototype"
226 <bean id="searchStudyAction"
227 class="org.splat.simer.SearchStudyAction" scope="prototype"
229 <property name="projectSettings" ref="projectSettings" />
230 <property name="searchService" ref="searchService" />
231 <property name="simulationContextService"
232 ref="simulationContextService" />
233 <property name="userService" ref="userService" />
236 <bean id="searchKnowledgeAction"
237 class="org.splat.simer.SearchKnowledgeAction" scope="prototype"
239 <property name="searchService" ref="searchService" />
240 <property name="simulationContextService"
241 ref="simulationContextService" />
242 <property name="knowledgeElementTypeService"
243 ref="knowledgeElementTypeService" />
244 <property name="userService" ref="userService" />
247 <bean id="searchDocumentAction"
248 class="org.splat.simer.SearchDocumentAction" scope="prototype">
251 <bean id="displayKnowledgeAction"
252 class="org.splat.simer.DisplayKnowledgeAction" scope="prototype"
254 <property name="knowledgeElementService"
255 ref="knowledgeElementService" />
258 <bean id="uploadAction" class="org.splat.simer.UploadAction"
259 scope="prototype" parent="baseAction">
260 <property name="repositoryService" ref="repositoryService" />
263 <bean id="uploadStudyAction"
264 class="org.splat.simer.UploadStudyAction" scope="prototype"
268 <bean id="versionDocumentAction"
269 class="org.splat.simer.VersionDocumentAction" scope="prototype"
271 <property name="projectSettings" ref="projectSettings" />
272 <property name="publicationService" ref="publicationService" />
273 <property name="stepService" ref="stepService" />
274 <property name="repositoryService" ref="repositoryService" />
277 <bean id="databaseIndexingAction"
278 class="org.splat.simer.admin.DatabaseIndexingAction" scope="prototype"
280 <property name="searchService" ref="searchService" />
283 <bean id="importUserAction"
284 class="org.splat.simer.admin.ImportUserAction" scope="prototype"
286 <property name="repositoryService" ref="repositoryService" />
287 <property name="userService" ref="userService" />
290 <bean id="simulationContextAction"
291 class="org.splat.simer.admin.SimulationContextAction"
292 scope="prototype" parent="baseAction">
293 <property name="knowledgeElementService"
294 ref="knowledgeElementService" />
295 <property name="searchService" ref="searchService" />
296 <property name="projectSettings" ref="projectSettings" />
297 <property name="simulationContextService"
298 ref="simulationContextService" />
301 <bean id="knowledgeElementAction"
302 class="org.splat.simer.admin.KnowledgeElementAction"