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 xsi:schemaLocation="http://www.springframework.org/schema/beans
6 http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
7 http://www.springframework.org/schema/aop
8 http://www.springframework.org/schema/aop/spring-aop-3.0.xsd">
11 <!-- configuration i18n -->
13 class="org.splat.i18n.I18nUtils">
14 <property name="resourceBundleMessageSource"
15 ref="messageSource" />
18 <bean id="messageSource"
19 class="org.springframework.context.support.ResourceBundleMessageSource">
20 <property name="basenames">
22 <value>application</value>
23 <value>log-messages</value>
27 <!-- ref 'baseMessageSource' into Siman-common\src\spring\globalContext.xml -->
28 <!-- property name="parentMessageSource" ref="baseMessageSource"/-->
30 <bean id="applicationSettings"
31 class="org.splat.simer.ApplicationSettings">
32 <property name="projectSettings" ref="projectSettings" />
35 <bean id="importedStudy" class="org.splat.simer.admin.ImportedStudy"
38 <bean id="openStudy" class="org.splat.simer.OpenStudy"
40 <property name="projectElementService"
41 ref="projectElementService" />
42 <property name="projectSettings" ref="projectSettings" />
43 <property name="publicationService" ref="publicationService" />
44 <property name="scenarioService" ref="scenarioService" />
45 <property name="stepService" ref="stepService" />
48 <bean id="openKnowledge" class="org.splat.simer.OpenKnowledge"
50 <property name="projectElementService"
51 ref="projectElementService" />
52 <property name="projectSettings" ref="projectSettings" />
55 <bean id="baseAction" class="org.splat.simer.Action"
56 scope="prototype" abstract="true">
57 <property name="openStudy" ref="openStudy" />
58 <property name="openKnowledge" ref="openKnowledge" />
61 <!--========= Inherited from baseAction =========-->
63 <bean id="newStudyAction" class="org.splat.simer.NewStudyAction"
64 parent="baseAction" scope="prototype">
65 <property name="studyService" ref="studyService" />
68 <bean id="displayStudyStepAction"
69 class="org.splat.simer.DisplayStudyStepAction" parent="baseAction"
71 <property name="studyService" ref="studyService" />
74 <!--========= Inherited from displayStudyStepAction =========-->
76 <bean id="studyPropertiesAction"
77 class="org.splat.simer.StudyPropertiesAction" scope="prototype"
78 parent="displayStudyStepAction">
81 <bean id="editStudyAction" class="org.splat.simer.EditStudyAction"
82 scope="prototype" parent="displayStudyStepAction">
85 <bean id="editScenarioPropertiesAction"
86 class="org.splat.simer.EditScenarioPropertiesAction" scope="prototype"
87 parent="displayStudyStepAction">
88 <property name="projectElementService"
89 ref="projectElementService" />
90 <property name="scenarioService" ref="scenarioService" />
93 <bean id="editSimulationContextAction"
94 class="org.splat.simer.EditSimulationContextAction" scope="prototype"
95 parent="displayStudyStepAction">
96 <property name="stepService" ref="stepService" />
99 <bean id="editDocumentAction"
100 class="org.splat.simer.EditDocumentAction" scope="prototype"
101 parent="displayStudyStepAction">
102 <property name="publicationService" ref="publicationService" />
105 <bean id="editKnowledgeElementAction"
106 class="org.splat.simer.EditKnowledgeElementAction" scope="prototype"
107 parent="displayStudyStepAction">
108 <property name="knowledgeElementService"
109 ref="knowledgeElementService" />
110 <property name="scenarioService" ref="scenarioService" />
113 <!-- End of Inherited from displayStudyStepAction -->
115 <bean id="startAction" class="org.splat.simer.StartAction"
117 <property name="applicationSettings" ref="applicationSettings" />
118 <property name="projectSettings" ref="projectSettings" />
120 <bean id="connectionAction" class="org.splat.simer.ConnectionAction"
124 <bean id="menuAction" class="org.splat.simer.MenuAction"
128 <bean id="notYetImplementedAction"
129 class="org.splat.simer.NotYetImplementedAction" scope="prototype">
132 <bean id="searchStudyAction"
133 class="org.splat.simer.SearchStudyAction" scope="prototype">
134 <property name="projectSettings" ref="projectSettings" />
135 <property name="searchService" ref="searchService" />
138 <bean id="searchKnowledgeAction"
139 class="org.splat.simer.SearchKnowledgeAction" scope="prototype">
140 <property name="searchService" ref="searchService" />
143 <bean id="searchDocumentAction"
144 class="org.splat.simer.SearchDocumentAction" scope="prototype">
147 <bean id="displayKnowledgeAction"
148 class="org.splat.simer.DisplayKnowledgeAction" scope="prototype">
149 <property name="knowledgeElementService"
150 ref="knowledgeElementService" />
153 <bean id="newScenarioAction"
154 class="org.splat.simer.NewScenarioAction" scope="prototype">
155 <property name="projectElementService"
156 ref="projectElementService" />
157 <property name="studyService" ref="studyService" />
160 <bean id="uploadAction" class="org.splat.simer.UploadAction"
164 <bean id="importDocumentAction"
165 class="org.splat.simer.ImportDocumentAction" scope="prototype">
166 <property name="stepService" ref="stepService" />
167 <property name="projectSettings" ref="projectSettings" />
168 <property name="publicationService" ref="publicationService" />
171 <bean id="versionDocumentAction"
172 class="org.splat.simer.VersionDocumentAction" scope="prototype">
173 <property name="projectSettings" ref="projectSettings" />
174 <property name="publicationService" ref="publicationService" />
175 <property name="stepService" ref="stepService" />
178 <bean id="databaseIndexingAction"
179 class="org.splat.simer.admin.DatabaseIndexingAction"
181 <property name="studyService" ref="studyService" />
182 <property name="importedStudy" ref="importedStudy" />
183 <property name="searchService" ref="searchService" />
186 <bean id="importUserAction"
187 class="org.splat.simer.admin.ImportUserAction" scope="prototype">
190 <bean id="simulationContextAction"
191 class="org.splat.simer.admin.SimulationContextAction"
193 <property name="knowledgeElementService"
194 ref="knowledgeElementService" />
195 <property name="searchService" ref="searchService" />
196 <property name="projectSettings" ref="projectSettings" />
199 <bean id="knowledgeElementAction"
200 class="org.splat.simer.admin.KnowledgeElementAction"
204 <bean id="saveDocumentAction"
205 class="org.splat.module.SaveDocumentAction" scope="prototype">
206 <property name="publicationService" ref="publicationService" />
207 <property name="scenarioService" ref="scenarioService" />
208 <property name="stepService" ref="stepService" />