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 -->
20 class="org.splat.i18n.I18nUtils">
21 <property name="resourceBundleMessageSource"
22 ref="messageSource" />
25 <bean id="messageSource"
26 class="org.springframework.context.support.ResourceBundleMessageSource">
27 <property name="basenames">
29 <value>application</value>
30 <value>log-messages</value>
34 <!-- ref 'baseMessageSource' into Siman-common\src\spring\globalContext.xml -->
35 <!-- property name="parentMessageSource" ref="baseMessageSource"/-->
37 <bean id="applicationSettings"
38 class="org.splat.simer.ApplicationSettings">
39 <property name="projectSettings" ref="projectSettings" />
42 <bean id="importedStudy" class="org.splat.simer.admin.ImportedStudy"
45 <bean id="openStudy" class="org.splat.simer.OpenStudy"
47 <property name="projectElementService"
48 ref="projectElementService" />
49 <property name="projectSettings" ref="projectSettings" />
50 <property name="publicationService" ref="publicationService" />
51 <property name="scenarioService" ref="scenarioService" />
52 <property name="stepService" ref="stepService" />
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="studyService" ref="studyService" />
75 <bean id="displayStudyStepAction"
76 class="org.splat.simer.DisplayStudyStepAction" parent="baseAction"
78 <property name="studyService" ref="studyService" />
81 <!--========= Inherited from displayStudyStepAction =========-->
83 <bean id="studyPropertiesAction"
84 class="org.splat.simer.StudyPropertiesAction" scope="prototype"
85 parent="displayStudyStepAction">
88 <bean id="editStudyAction" class="org.splat.simer.EditStudyAction"
89 scope="prototype" parent="displayStudyStepAction">
92 <bean id="editScenarioPropertiesAction"
93 class="org.splat.simer.EditScenarioPropertiesAction" scope="prototype"
94 parent="displayStudyStepAction">
95 <property name="projectElementService"
96 ref="projectElementService" />
97 <property name="scenarioService" ref="scenarioService" />
100 <bean id="editSimulationContextAction"
101 class="org.splat.simer.EditSimulationContextAction" scope="prototype"
102 parent="displayStudyStepAction">
103 <property name="stepService" ref="stepService" />
106 <bean id="editDocumentAction"
107 class="org.splat.simer.EditDocumentAction" scope="prototype"
108 parent="displayStudyStepAction">
109 <property name="publicationService" ref="publicationService" />
112 <bean id="editKnowledgeElementAction"
113 class="org.splat.simer.EditKnowledgeElementAction" scope="prototype"
114 parent="displayStudyStepAction">
115 <property name="knowledgeElementService"
116 ref="knowledgeElementService" />
117 <property name="scenarioService" ref="scenarioService" />
120 <!-- End of Inherited from displayStudyStepAction -->
122 <bean id="startAction" class="org.splat.simer.StartAction"
124 <property name="applicationSettings" ref="applicationSettings" />
125 <property name="projectSettings" ref="projectSettings" />
127 <bean id="connectionAction" class="org.splat.simer.ConnectionAction"
131 <bean id="menuAction" class="org.splat.simer.MenuAction"
135 <bean id="notYetImplementedAction"
136 class="org.splat.simer.NotYetImplementedAction" scope="prototype">
139 <bean id="searchStudyAction"
140 class="org.splat.simer.SearchStudyAction" scope="prototype">
141 <property name="projectSettings" ref="projectSettings" />
142 <property name="searchService" ref="searchService" />
145 <bean id="searchKnowledgeAction"
146 class="org.splat.simer.SearchKnowledgeAction" scope="prototype">
147 <property name="searchService" ref="searchService" />
150 <bean id="searchDocumentAction"
151 class="org.splat.simer.SearchDocumentAction" scope="prototype">
154 <bean id="displayKnowledgeAction"
155 class="org.splat.simer.DisplayKnowledgeAction" scope="prototype">
156 <property name="knowledgeElementService"
157 ref="knowledgeElementService" />
160 <bean id="newScenarioAction"
161 class="org.splat.simer.NewScenarioAction" scope="prototype">
162 <property name="projectElementService"
163 ref="projectElementService" />
164 <property name="studyService" ref="studyService" />
167 <bean id="uploadAction" class="org.splat.simer.UploadAction"
171 <bean id="importDocumentAction"
172 class="org.splat.simer.ImportDocumentAction" scope="prototype">
173 <property name="stepService" ref="stepService" />
174 <property name="projectSettings" ref="projectSettings" />
175 <property name="publicationService" ref="publicationService" />
178 <bean id="versionDocumentAction"
179 class="org.splat.simer.VersionDocumentAction" scope="prototype">
180 <property name="projectSettings" ref="projectSettings" />
181 <property name="publicationService" ref="publicationService" />
182 <property name="stepService" ref="stepService" />
185 <bean id="databaseIndexingAction"
186 class="org.splat.simer.admin.DatabaseIndexingAction"
188 <property name="studyService" ref="studyService" />
189 <property name="importedStudy" ref="importedStudy" />
190 <property name="searchService" ref="searchService" />
193 <bean id="importUserAction"
194 class="org.splat.simer.admin.ImportUserAction" scope="prototype">
197 <bean id="simulationContextAction"
198 class="org.splat.simer.admin.SimulationContextAction"
200 <property name="knowledgeElementService"
201 ref="knowledgeElementService" />
202 <property name="searchService" ref="searchService" />
203 <property name="projectSettings" ref="projectSettings" />
206 <bean id="knowledgeElementAction"
207 class="org.splat.simer.admin.KnowledgeElementAction"
211 <bean id="saveDocumentAction"
212 class="org.splat.module.SaveDocumentAction" scope="prototype">
213 <property name="publicationService" ref="publicationService" />
214 <property name="scenarioService" ref="scenarioService" />
215 <property name="stepService" ref="stepService" />