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="menuBarSettings" class="org.splat.simer.MenuBarSettings"
48 <bean id="titleBarSettings" class="org.splat.simer.TitleBarSettings"
52 <bean id="toolBarSettings" class="org.splat.simer.ToolBarSettings"
56 <bean id="leftMenuSettings" class="org.splat.simer.LeftMenuSettings"
60 <bean id="slidMenu" scope="session" abstract="true">
61 <property name="projectElementService"
62 ref="projectElementService" />
63 <property name="scenarioService" ref="scenarioService" />
66 <bean id="studyMenu" class="org.splat.simer.StudyMenu"
67 scope="session" parent="slidMenu" />
69 <bean id="newScenarioMenu" class="org.splat.simer.NewScenarioMenu"
70 scope="session" parent="slidMenu" />
72 <bean id="openObject" abstract="true"
73 class="org.splat.simer.AbstractOpenObject" scope="session">
74 <property name="applicationSettings" ref="applicationSettings" />
75 <property name="projectElementService"
76 ref="projectElementService" />
77 <property name="projectSettings" ref="projectSettings" />
78 <property name="knowledgeElementTypeService"
79 ref="knowledgeElementTypeService" />
82 <bean id="openStudy" class="org.splat.simer.OpenStudy"
83 parent="openObject" scope="session">
84 <property name="projectElementService"
85 ref="projectElementService" />
86 <property name="publicationService" ref="publicationService" />
87 <property name="studyService" ref="studyService" />
88 <property name="stepService" ref="stepService" />
89 <property name="repositoryService" ref="repositoryService" />
90 <property name="menu" ref="studyMenu" />
91 <property name="documentTypeService" ref="documentTypeService" />
92 <property name="documentService" ref="documentService" />
95 <bean id="openKnowledge" class="org.splat.simer.OpenKnowledge"
96 parent="openObject" scope="session">
99 <bean id="baseAction" class="org.splat.simer.Action"
100 scope="prototype" abstract="true">
101 <property name="applicationSettings" ref="applicationSettings" />
102 <property name="openStudy" ref="openStudy" />
103 <property name="openKnowledge" ref="openKnowledge" />
104 <property name="menuBarSettings" ref="menuBarSettings" />
105 <property name="titleBarSettings" ref="titleBarSettings" />
106 <property name="toolBarSettings" ref="toolBarSettings" />
107 <property name="leftMenuSettings" ref="leftMenuSettings" />
110 <!--========= Inherited from baseAction ========= -->
112 <bean id="newStudyAction" class="org.splat.simer.NewStudyAction"
113 parent="baseAction" scope="prototype">
114 <property name="simulationContextService"
115 ref="simulationContextService" />
116 <property name="scenarioService" ref="scenarioService" />
119 <bean id="newScenarioAction"
120 class="org.splat.simer.NewScenarioAction" parent="baseAction"
122 <property name="projectElementService"
123 ref="projectElementService" />
124 <property name="scenarioService" ref="scenarioService" />
125 <property name="menu" ref="newScenarioMenu" />
128 <bean id="checkoutAction" class="org.splat.simer.CheckoutAction"
130 <property name="scenarioService" ref="scenarioService" />
133 <bean id="importDocumentAction"
134 class="org.splat.simer.ImportDocumentAction" scope="prototype"
136 <property name="stepService" ref="stepService" />
137 <property name="projectSettings" ref="projectSettings" />
138 <property name="publicationService" ref="publicationService" />
139 <property name="repositoryService" ref="repositoryService" />
140 <property name="documentService" ref="documentService" />
141 <property name="documentTypeService" ref="documentTypeService" />
144 <bean id="displayStudyStepAction"
145 class="org.splat.simer.DisplayStudyStepAction" parent="baseAction"
147 <property name="studyService" ref="studyService" />
150 <!--========= Inherited from displayStudyStepAction ========= -->
152 <bean id="studyPropertiesAction"
153 class="org.splat.simer.StudyPropertiesAction" scope="prototype"
154 parent="displayStudyStepAction">
155 <property name="documentTypeService" ref="documentTypeService" />
156 <property name="userService" ref="userService" />
159 <bean id="editStudyAction" class="org.splat.simer.EditStudyAction"
160 scope="prototype" parent="displayStudyStepAction">
163 <bean id="editScenarioPropertiesAction"
164 class="org.splat.simer.EditScenarioPropertiesAction" scope="prototype"
165 parent="displayStudyStepAction">
166 <property name="projectElementService"
167 ref="projectElementService" />
168 <property name="scenarioService" ref="scenarioService" />
171 <bean id="editSimulationContextAction"
172 class="org.splat.simer.EditSimulationContextAction" scope="prototype"
173 parent="displayStudyStepAction">
174 <property name="stepService" ref="stepService" />
175 <property name="simulationContextService"
176 ref="simulationContextService" />
177 <property name="simulationContextTypeService"
178 ref="simulationContextTypeService" />
181 <bean id="editDocumentAction"
182 class="org.splat.simer.EditDocumentAction" scope="prototype"
183 parent="displayStudyStepAction">
184 <property name="stepService" ref="stepService" />
185 <property name="publicationService" ref="publicationService" />
186 <property name="repositoryService" ref="repositoryService" />
189 <bean id="editKnowledgeElementAction"
190 class="org.splat.simer.EditKnowledgeElementAction" scope="prototype"
191 parent="displayStudyStepAction">
192 <property name="knowledgeElementService"
193 ref="knowledgeElementService" />
194 <property name="knowledgeElementTypeService"
195 ref="knowledgeElementTypeService" />
196 <property name="scenarioService" ref="scenarioService" />
199 <!-- End of Inherited from displayStudyStepAction -->
201 <bean id="startAction" class="org.splat.simer.StartAction"
202 scope="prototype" parent="baseAction">
203 <property name="applicationSettings" ref="applicationSettings" />
204 <property name="projectSettings" ref="projectSettings" />
206 <bean id="connectionAction" class="org.splat.simer.ConnectionAction"
207 scope="prototype" parent="baseAction">
210 <bean id="menuAction" class="org.splat.simer.MenuAction"
211 scope="prototype" parent="baseAction">
214 <bean id="notYetImplementedAction"
215 class="org.splat.simer.NotYetImplementedAction" scope="prototype"
219 <bean id="searchStudyAction"
220 class="org.splat.simer.SearchStudyAction" scope="prototype"
222 <property name="projectSettings" ref="projectSettings" />
223 <property name="searchService" ref="searchService" />
224 <property name="simulationContextService"
225 ref="simulationContextService" />
226 <property name="userService" ref="userService" />
229 <bean id="searchKnowledgeAction"
230 class="org.splat.simer.SearchKnowledgeAction" scope="prototype"
232 <property name="searchService" ref="searchService" />
233 <property name="simulationContextService"
234 ref="simulationContextService" />
235 <property name="knowledgeElementTypeService"
236 ref="knowledgeElementTypeService" />
237 <property name="userService" ref="userService" />
240 <bean id="searchDocumentAction"
241 class="org.splat.simer.SearchDocumentAction" scope="prototype">
244 <bean id="displayKnowledgeAction"
245 class="org.splat.simer.DisplayKnowledgeAction" scope="prototype"
247 <property name="knowledgeElementService"
248 ref="knowledgeElementService" />
251 <bean id="uploadAction" class="org.splat.simer.UploadAction"
252 scope="prototype" parent="baseAction">
253 <property name="repositoryService" ref="repositoryService" />
256 <bean id="uploadStudyAction"
257 class="org.splat.simer.UploadStudyAction" scope="prototype"
261 <bean id="versionDocumentAction"
262 class="org.splat.simer.VersionDocumentAction" scope="prototype"
264 <property name="projectSettings" ref="projectSettings" />
265 <property name="publicationService" ref="publicationService" />
266 <property name="stepService" ref="stepService" />
267 <property name="repositoryService" ref="repositoryService" />
270 <bean id="databaseIndexingAction"
271 class="org.splat.simer.admin.DatabaseIndexingAction" scope="prototype"
273 <property name="searchService" ref="searchService" />
276 <bean id="importUserAction"
277 class="org.splat.simer.admin.ImportUserAction" scope="prototype"
279 <property name="repositoryService" ref="repositoryService" />
280 <property name="userService" ref="userService" />
283 <bean id="simulationContextAction"
284 class="org.splat.simer.admin.SimulationContextAction"
285 scope="prototype" parent="baseAction">
286 <property name="knowledgeElementService"
287 ref="knowledgeElementService" />
288 <property name="searchService" ref="searchService" />
289 <property name="projectSettings" ref="projectSettings" />
290 <property name="simulationContextService"
291 ref="simulationContextService" />
294 <bean id="knowledgeElementAction"
295 class="org.splat.simer.admin.KnowledgeElementAction"
299 <bean id="saveDocumentAction"
300 class="org.splat.module.SaveDocumentAction" scope="prototype">
301 <property name="documentTypeService" ref="documentTypeService" />
302 <property name="publicationService" ref="publicationService" />
303 <property name="repositoryService" ref="repositoryService" />
304 <property name="scenarioService" ref="scenarioService" />
305 <property name="stepService" ref="stepService" />
306 <property name="simulationContextService"
307 ref="simulationContextService" />