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" xmlns:aop="http://www.springframework.org/schema/aop"
4 xmlns:context="http://www.springframework.org/schema/context"
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
9 http://www.springframework.org/schema/context
10 http://www.springframework.org/schema/context/spring-context-3.0.xsd">
13 <context:property-placeholder
14 location="classpath:siman.properties,classpath:jdbc.properties"
15 ignore-unresolvable="true" />
17 <!-- configuration i18n -->
18 <bean id="i18nUtils" class="org.splat.i18n.I18nUtils">
19 <property name="resourceBundleMessageSource" ref="messageSource" />
22 <bean id="messageSource"
23 class="org.springframework.context.support.ResourceBundleMessageSource">
24 <property name="basenames">
26 <value>application</value>
27 <value>log-messages</value>
31 <!-- ref 'baseMessageSource' into Siman-common\src\spring\globalContext.xml -->
32 <!-- property name="parentMessageSource" ref="baseMessageSource"/ -->
34 <bean id="applicationSettings" class="org.splat.simer.ApplicationSettings"
35 factory-method="getMe">
36 <property name="projectSettings" ref="projectSettings" />
37 <property name="documentTypeService" ref="documentTypeService" />
40 <bean id="importedStudy" class="org.splat.simer.admin.ImportedStudy"
43 <bean id="slidMenu" scope="session" abstract="true">
44 <property name="projectElementService" ref="projectElementService" />
45 <property name="scenarioService" ref="scenarioService" />
48 <bean id="studyMenu" class="org.splat.simer.StudyMenu" scope="session"
51 <bean id="newScenarioMenu" class="org.splat.simer.NewScenarioMenu"
52 scope="session" parent="slidMenu" />
54 <bean id="openObject" abstract="true" class="org.splat.simer.OpenObject"
56 <property name="projectElementService" ref="projectElementService" />
57 <property name="projectSettings" ref="projectSettings" />
58 <property name="knowledgeElementTypeService" ref="knowledgeElementTypeService" />
61 <bean id="openStudy" class="org.splat.simer.OpenStudy" parent="openObject"
63 <property name="projectElementService" ref="projectElementService" />
64 <property name="publicationService" ref="publicationService" />
65 <property name="studyService" ref="studyService" />
66 <property name="stepService" ref="stepService" />
67 <property name="repositoryService" ref="repositoryService" />
68 <property name="menu" ref="studyMenu" />
69 <property name="documentTypeService" ref="documentTypeService" />
70 <property name="documentService" ref="documentService" />
73 <bean id="openKnowledge" class="org.splat.simer.OpenKnowledge"
74 parent="openObject" scope="session">
77 <bean id="baseAction" class="org.splat.simer.Action" scope="prototype"
79 <property name="openStudy" ref="openStudy" />
80 <property name="openKnowledge" ref="openKnowledge" />
83 <!--========= Inherited from baseAction ========= -->
85 <bean id="newStudyAction" class="org.splat.simer.NewStudyAction"
86 parent="baseAction" scope="prototype">
87 <property name="simulationContextService" ref="simulationContextService" />
88 <property name="scenarioService" ref="scenarioService" />
89 <property name="studyService" ref="studyService" />
92 <bean id="newScenarioAction" class="org.splat.simer.NewScenarioAction"
93 parent="baseAction" scope="prototype">
94 <property name="projectElementService" ref="projectElementService" />
95 <property name="scenarioService" ref="scenarioService" />
96 <property name="menu" ref="newScenarioMenu" />
99 <bean id="importDocumentAction" class="org.splat.simer.ImportDocumentAction"
100 scope="prototype" parent="baseAction">
101 <property name="stepService" ref="stepService" />
102 <property name="projectSettings" ref="projectSettings" />
103 <property name="publicationService" ref="publicationService" />
104 <property name="repositoryService" ref="repositoryService" />
105 <property name="documentTypeService" ref="documentTypeService" />
108 <bean id="displayStudyStepAction" class="org.splat.simer.DisplayStudyStepAction"
109 parent="baseAction" scope="prototype">
110 <property name="studyService" ref="studyService" />
113 <!--========= Inherited from displayStudyStepAction ========= -->
115 <bean id="studyPropertiesAction" class="org.splat.simer.StudyPropertiesAction"
116 scope="prototype" parent="displayStudyStepAction">
117 <property name="documentTypeService" ref="documentTypeService" />
118 <property name="userService" ref="userService" />
121 <bean id="editStudyAction" class="org.splat.simer.EditStudyAction"
122 scope="prototype" parent="displayStudyStepAction">
125 <bean id="editScenarioPropertiesAction" class="org.splat.simer.EditScenarioPropertiesAction"
126 scope="prototype" parent="displayStudyStepAction">
127 <property name="projectElementService" ref="projectElementService" />
128 <property name="scenarioService" ref="scenarioService" />
131 <bean id="editSimulationContextAction" class="org.splat.simer.EditSimulationContextAction"
132 scope="prototype" parent="displayStudyStepAction">
133 <property name="stepService" ref="stepService" />
134 <property name="simulationContextService" ref="simulationContextService" />
137 <bean id="editDocumentAction" class="org.splat.simer.EditDocumentAction"
138 scope="prototype" parent="displayStudyStepAction">
139 <property name="stepService" ref="stepService" />
140 <property name="publicationService" ref="publicationService" />
141 <property name="repositoryService" ref="repositoryService" />
144 <bean id="editKnowledgeElementAction" class="org.splat.simer.EditKnowledgeElementAction"
145 scope="prototype" parent="displayStudyStepAction">
146 <property name="knowledgeElementService" ref="knowledgeElementService" />
147 <property name="knowledgeElementTypeService" ref="knowledgeElementTypeService" />
148 <property name="scenarioService" ref="scenarioService" />
151 <!-- End of Inherited from displayStudyStepAction -->
153 <bean id="startAction" class="org.splat.simer.StartAction" scope="prototype">
154 <property name="applicationSettings" ref="applicationSettings" />
155 <property name="projectSettings" ref="projectSettings" />
157 <bean id="connectionAction" class="org.splat.simer.ConnectionAction"
161 <bean id="menuAction" class="org.splat.simer.MenuAction" scope="prototype">
164 <bean id="notYetImplementedAction" class="org.splat.simer.NotYetImplementedAction"
168 <bean id="searchStudyAction" class="org.splat.simer.SearchStudyAction"
170 <property name="projectSettings" ref="projectSettings" />
171 <property name="searchService" ref="searchService" />
172 <property name="simulationContextService" ref="simulationContextService" />
173 <property name="userService" ref="userService" />
176 <bean id="searchKnowledgeAction" class="org.splat.simer.SearchKnowledgeAction"
178 <property name="searchService" ref="searchService" />
179 <property name="simulationContextService" ref="simulationContextService" />
180 <property name="knowledgeElementTypeService" ref="knowledgeElementTypeService" />
181 <property name="userService" ref="userService" />
184 <bean id="searchDocumentAction" class="org.splat.simer.SearchDocumentAction"
188 <bean id="displayKnowledgeAction" class="org.splat.simer.DisplayKnowledgeAction"
190 <property name="knowledgeElementService" ref="knowledgeElementService" />
193 <bean id="uploadAction" class="org.splat.simer.UploadAction"
195 <property name="repositoryService" ref="repositoryService" />
198 <bean id="versionDocumentAction" class="org.splat.simer.VersionDocumentAction"
200 <property name="projectSettings" ref="projectSettings" />
201 <property name="publicationService" ref="publicationService" />
202 <property name="stepService" ref="stepService" />
203 <property name="repositoryService" ref="repositoryService" />
206 <bean id="databaseIndexingAction" class="org.splat.simer.admin.DatabaseIndexingAction"
208 <property name="studyService" ref="studyService" />
209 <property name="importedStudy" ref="importedStudy" />
210 <property name="searchService" ref="searchService" />
213 <bean id="importUserAction" class="org.splat.simer.admin.ImportUserAction"
215 <property name="repositoryService" ref="repositoryService" />
216 <property name="userService" ref="userService" />
219 <bean id="simulationContextAction" class="org.splat.simer.admin.SimulationContextAction"
221 <property name="knowledgeElementService" ref="knowledgeElementService" />
222 <property name="searchService" ref="searchService" />
223 <property name="projectSettings" ref="projectSettings" />
224 <property name="simulationContextService" ref="simulationContextService" />
227 <bean id="knowledgeElementAction" class="org.splat.simer.admin.KnowledgeElementAction"
231 <bean id="saveDocumentAction" class="org.splat.module.SaveDocumentAction"
233 <property name="documentTypeService" ref="documentTypeService" />
234 <property name="publicationService" ref="publicationService" />
235 <property name="repositoryService" ref="repositoryService" />
236 <property name="scenarioService" ref="scenarioService" />
237 <property name="stepService" ref="stepService" />
238 <property name="simulationContextService" ref="simulationContextService" />