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>application</value>
29 <value>log-messages</value>
33 <!-- ref 'baseMessageSource' into Siman-common\src\spring\globalContext.xml -->
34 <!-- property name="parentMessageSource" ref="baseMessageSource"/-->
36 <bean id="applicationSettings"
37 class="org.splat.simer.ApplicationSettings">
38 <property name="projectSettings" ref="projectSettings" />
41 <bean id="importedStudy" class="org.splat.simer.admin.ImportedStudy"
44 <bean id="openStudy" class="org.splat.simer.OpenStudy"
46 <property name="projectElementService"
47 ref="projectElementService" />
48 <property name="projectSettings" ref="projectSettings" />
49 <property name="publicationService" ref="publicationService" />
50 <property name="scenarioService" ref="scenarioService" />
51 <property name="stepService" ref="stepService" />
52 <property name="repositoryService" ref="repositoryService" />
55 <bean id="openKnowledge" class="org.splat.simer.OpenKnowledge"
57 <property name="projectElementService"
58 ref="projectElementService" />
59 <property name="projectSettings" ref="projectSettings" />
62 <bean id="baseAction" class="org.splat.simer.Action"
63 scope="prototype" abstract="true">
64 <property name="openStudy" ref="openStudy" />
65 <property name="openKnowledge" ref="openKnowledge" />
68 <!--========= Inherited from baseAction =========-->
70 <bean id="newStudyAction" class="org.splat.simer.NewStudyAction"
71 parent="baseAction" scope="prototype">
72 <property name="simulationContextService"
73 ref="simulationContextService" />
74 <property name="studyService" ref="studyService" />
77 <bean id="displayStudyStepAction"
78 class="org.splat.simer.DisplayStudyStepAction" parent="baseAction"
80 <property name="studyService" ref="studyService" />
83 <!--========= Inherited from displayStudyStepAction =========-->
85 <bean id="studyPropertiesAction"
86 class="org.splat.simer.StudyPropertiesAction" scope="prototype"
87 parent="displayStudyStepAction">
90 <bean id="editStudyAction" class="org.splat.simer.EditStudyAction"
91 scope="prototype" parent="displayStudyStepAction">
94 <bean id="editScenarioPropertiesAction"
95 class="org.splat.simer.EditScenarioPropertiesAction" scope="prototype"
96 parent="displayStudyStepAction">
97 <property name="projectElementService"
98 ref="projectElementService" />
99 <property name="scenarioService" ref="scenarioService" />
102 <bean id="editSimulationContextAction"
103 class="org.splat.simer.EditSimulationContextAction" scope="prototype"
104 parent="displayStudyStepAction">
105 <property name="stepService" ref="stepService" />
106 <property name="simulationContextService"
107 ref="simulationContextService" />
110 <bean id="editDocumentAction"
111 class="org.splat.simer.EditDocumentAction" scope="prototype"
112 parent="displayStudyStepAction">
113 <property name="publicationService" ref="publicationService" />
114 <property name="repositoryService" ref="repositoryService" />
117 <bean id="editKnowledgeElementAction"
118 class="org.splat.simer.EditKnowledgeElementAction" scope="prototype"
119 parent="displayStudyStepAction">
120 <property name="knowledgeElementService"
121 ref="knowledgeElementService" />
122 <property name="scenarioService" ref="scenarioService" />
125 <!-- End of Inherited from displayStudyStepAction -->
127 <bean id="startAction" class="org.splat.simer.StartAction"
129 <property name="applicationSettings" ref="applicationSettings" />
130 <property name="projectSettings" ref="projectSettings" />
132 <bean id="connectionAction" class="org.splat.simer.ConnectionAction"
136 <bean id="menuAction" class="org.splat.simer.MenuAction"
140 <bean id="notYetImplementedAction"
141 class="org.splat.simer.NotYetImplementedAction" scope="prototype">
144 <bean id="searchStudyAction"
145 class="org.splat.simer.SearchStudyAction" scope="prototype">
146 <property name="projectSettings" ref="projectSettings" />
147 <property name="searchService" ref="searchService" />
148 <property name="simulationContextService"
149 ref="simulationContextService" />
152 <bean id="searchKnowledgeAction"
153 class="org.splat.simer.SearchKnowledgeAction" scope="prototype">
154 <property name="searchService" ref="searchService" />
155 <property name="simulationContextService"
156 ref="simulationContextService" />
159 <bean id="searchDocumentAction"
160 class="org.splat.simer.SearchDocumentAction" scope="prototype">
163 <bean id="displayKnowledgeAction"
164 class="org.splat.simer.DisplayKnowledgeAction" scope="prototype">
165 <property name="knowledgeElementService"
166 ref="knowledgeElementService" />
169 <bean id="newScenarioAction"
170 class="org.splat.simer.NewScenarioAction" scope="prototype">
171 <property name="projectElementService"
172 ref="projectElementService" />
173 <property name="studyService" ref="studyService" />
176 <bean id="uploadAction" class="org.splat.simer.UploadAction"
178 <property name="repositoryService" ref="repositoryService" />
181 <bean id="importDocumentAction"
182 class="org.splat.simer.ImportDocumentAction" scope="prototype">
183 <property name="stepService" ref="stepService" />
184 <property name="projectSettings" ref="projectSettings" />
185 <property name="publicationService" ref="publicationService" />
186 <property name="repositoryService" ref="repositoryService" />
189 <bean id="versionDocumentAction"
190 class="org.splat.simer.VersionDocumentAction" scope="prototype">
191 <property name="projectSettings" ref="projectSettings" />
192 <property name="publicationService" ref="publicationService" />
193 <property name="stepService" ref="stepService" />
194 <property name="repositoryService" ref="repositoryService" />
197 <bean id="databaseIndexingAction"
198 class="org.splat.simer.admin.DatabaseIndexingAction"
200 <property name="studyService" ref="studyService" />
201 <property name="importedStudy" ref="importedStudy" />
202 <property name="searchService" ref="searchService" />
205 <bean id="importUserAction"
206 class="org.splat.simer.admin.ImportUserAction" scope="prototype">
207 <property name="repositoryService" ref="repositoryService" />
210 <bean id="simulationContextAction"
211 class="org.splat.simer.admin.SimulationContextAction"
213 <property name="knowledgeElementService"
214 ref="knowledgeElementService" />
215 <property name="searchService" ref="searchService" />
216 <property name="projectSettings" ref="projectSettings" />
217 <property name="simulationContextService"
218 ref="simulationContextService" />
221 <bean id="knowledgeElementAction"
222 class="org.splat.simer.admin.KnowledgeElementAction"
226 <bean id="saveDocumentAction"
227 class="org.splat.module.SaveDocumentAction" scope="prototype">
228 <property name="publicationService" ref="publicationService" />
229 <property name="repositoryService" ref="repositoryService" />
230 <property name="scenarioService" ref="scenarioService" />
231 <property name="stepService" ref="stepService" />
232 <property name="simulationContextService"
233 ref="simulationContextService" />