<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:aop="http://www.springframework.org/schema/aop"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
<!-- configuration i18n -->
<bean id="i18nUtils" class="org.splat.i18n.I18nUtils">
- <property name="resourceBundleMessageSource"
- ref="messageSource" />
+ <property name="resourceBundleMessageSource" ref="messageSource" />
</bean>
<bean id="messageSource"
class="org.springframework.context.support.ResourceBundleMessageSource">
<property name="basenames">
<list>
- <value>application</value>
- <value>log-messages</value>
+ <value>conf/log-messages</value>
</list>
</property>
</bean>
<!-- ref 'baseMessageSource' into Siman-common\src\spring\globalContext.xml -->
<!-- property name="parentMessageSource" ref="baseMessageSource"/ -->
- <bean id="applicationSettings"
- class="org.splat.simer.ApplicationSettings" scope="session">
+ <bean id="applicationSettings" class="org.splat.simer.ApplicationSettings"
+ scope="session">
<property name="projectSettings" ref="projectSettings" />
<property name="documentTypeService" ref="documentTypeService" />
</bean>
</bean>
<bean id="slidMenu" scope="session" abstract="true">
- <property name="projectElementService"
- ref="projectElementService" />
+ <property name="projectElementService" ref="projectElementService" />
<property name="scenarioService" ref="scenarioService" />
</bean>
- <bean id="studyMenu" class="org.splat.simer.StudyMenu"
- scope="session" parent="slidMenu" />
+ <bean id="studyMenu" class="org.splat.simer.StudyMenu" scope="session"
+ parent="slidMenu" />
<bean id="newScenarioMenu" class="org.splat.simer.NewScenarioMenu"
scope="session" parent="slidMenu" />
<bean id="openObject" abstract="true"
class="org.splat.simer.AbstractOpenObject" scope="session">
<property name="applicationSettings" ref="applicationSettings" />
- <property name="projectElementService"
- ref="projectElementService" />
+ <property name="projectElementService" ref="projectElementService" />
<property name="projectSettings" ref="projectSettings" />
- <property name="knowledgeElementTypeService"
- ref="knowledgeElementTypeService" />
+ <property name="knowledgeElementTypeService" ref="knowledgeElementTypeService" />
</bean>
- <bean id="openStudy" class="org.splat.simer.OpenStudy"
- parent="openObject" scope="session">
- <property name="projectElementService"
- ref="projectElementService" />
+ <bean id="openStudy" class="org.splat.simer.OpenStudy" parent="openObject"
+ scope="session">
+ <property name="projectElementService" ref="projectElementService" />
<property name="publicationService" ref="publicationService" />
<property name="studyService" ref="studyService" />
<property name="stepService" ref="stepService" />
parent="openObject" scope="session">
</bean>
- <bean id="baseAction" class="org.splat.simer.Action"
- scope="prototype" abstract="true">
+ <bean id="baseAction" class="org.splat.simer.Action" scope="prototype"
+ abstract="true">
<property name="applicationSettings" ref="applicationSettings" />
<property name="openStudy" ref="openStudy" />
<property name="openKnowledge" ref="openKnowledge" />
<bean id="newStudyAction" class="org.splat.simer.NewStudyAction"
parent="baseAction" scope="prototype">
- <property name="simulationContextService"
- ref="simulationContextService" />
+ <property name="simulationContextService" ref="simulationContextService" />
<property name="scenarioService" ref="scenarioService" />
</bean>
- <bean id="newScenarioAction"
- class="org.splat.simer.NewScenarioAction" parent="baseAction"
- scope="prototype">
- <property name="projectElementService"
- ref="projectElementService" />
+ <bean id="newScenarioAction" class="org.splat.simer.NewScenarioAction"
+ parent="baseAction" scope="prototype">
+ <property name="projectElementService" ref="projectElementService" />
<property name="scenarioService" ref="scenarioService" />
<property name="menu" ref="newScenarioMenu" />
</bean>
- <bean id="importDocumentAction"
- class="org.splat.simer.ImportDocumentAction" scope="prototype"
- parent="baseAction">
+ <bean id="checkoutAction" class="org.splat.simer.CheckoutAction"
+ scope="prototype">
+ <property name="scenarioService" ref="scenarioService" />
+ </bean>
+
+ <bean id="importDocumentAction" class="org.splat.simer.ImportDocumentAction"
+ scope="prototype" parent="baseAction">
<property name="stepService" ref="stepService" />
<property name="projectSettings" ref="projectSettings" />
<property name="publicationService" ref="publicationService" />
<property name="documentTypeService" ref="documentTypeService" />
</bean>
- <bean id="displayStudyStepAction"
- class="org.splat.simer.DisplayStudyStepAction" parent="baseAction"
- scope="prototype">
+ <bean id="displayStudyStepAction" class="org.splat.simer.DisplayStudyStepAction"
+ parent="baseAction" scope="prototype">
<property name="studyService" ref="studyService" />
</bean>
<!--========= Inherited from displayStudyStepAction ========= -->
- <bean id="studyPropertiesAction"
- class="org.splat.simer.StudyPropertiesAction" scope="prototype"
- parent="displayStudyStepAction">
+ <bean id="studyPropertiesAction" class="org.splat.simer.StudyPropertiesAction"
+ scope="prototype" parent="displayStudyStepAction">
<property name="documentTypeService" ref="documentTypeService" />
<property name="userService" ref="userService" />
</bean>
scope="prototype" parent="displayStudyStepAction">
</bean>
- <bean id="editScenarioPropertiesAction"
- class="org.splat.simer.EditScenarioPropertiesAction" scope="prototype"
- parent="displayStudyStepAction">
- <property name="projectElementService"
- ref="projectElementService" />
+ <bean id="editScenarioPropertiesAction" class="org.splat.simer.EditScenarioPropertiesAction"
+ scope="prototype" parent="displayStudyStepAction">
+ <property name="projectElementService" ref="projectElementService" />
<property name="scenarioService" ref="scenarioService" />
</bean>
- <bean id="editSimulationContextAction"
- class="org.splat.simer.EditSimulationContextAction" scope="prototype"
- parent="displayStudyStepAction">
+ <bean id="editSimulationContextAction" class="org.splat.simer.EditSimulationContextAction"
+ scope="prototype" parent="displayStudyStepAction">
<property name="stepService" ref="stepService" />
- <property name="simulationContextService"
- ref="simulationContextService" />
- <property name="simulationContextTypeService"
- ref="simulationContextTypeService" />
+ <property name="simulationContextService" ref="simulationContextService" />
+ <property name="simulationContextTypeService" ref="simulationContextTypeService" />
</bean>
- <bean id="editDocumentAction"
- class="org.splat.simer.EditDocumentAction" scope="prototype"
- parent="displayStudyStepAction">
+ <bean id="editDocumentAction" class="org.splat.simer.EditDocumentAction"
+ scope="prototype" parent="displayStudyStepAction">
<property name="stepService" ref="stepService" />
<property name="publicationService" ref="publicationService" />
<property name="repositoryService" ref="repositoryService" />
</bean>
- <bean id="editKnowledgeElementAction"
- class="org.splat.simer.EditKnowledgeElementAction" scope="prototype"
- parent="displayStudyStepAction">
- <property name="knowledgeElementService"
- ref="knowledgeElementService" />
- <property name="knowledgeElementTypeService"
- ref="knowledgeElementTypeService" />
+ <bean id="editKnowledgeElementAction" class="org.splat.simer.EditKnowledgeElementAction"
+ scope="prototype" parent="displayStudyStepAction">
+ <property name="knowledgeElementService" ref="knowledgeElementService" />
+ <property name="knowledgeElementTypeService" ref="knowledgeElementTypeService" />
<property name="scenarioService" ref="scenarioService" />
</bean>
<!-- End of Inherited from displayStudyStepAction -->
- <bean id="startAction" class="org.splat.simer.StartAction"
- scope="prototype" parent="baseAction">
+ <bean id="startAction" class="org.splat.simer.StartAction" scope="prototype"
+ parent="baseAction">
<property name="applicationSettings" ref="applicationSettings" />
<property name="projectSettings" ref="projectSettings" />
</bean>
scope="prototype" parent="baseAction">
</bean>
- <bean id="menuAction" class="org.splat.simer.MenuAction"
- scope="prototype" parent="baseAction">
+ <bean id="menuAction" class="org.splat.simer.MenuAction" scope="prototype"
+ parent="baseAction">
</bean>
- <bean id="notYetImplementedAction"
- class="org.splat.simer.NotYetImplementedAction" scope="prototype"
- parent="baseAction">
+ <bean id="notYetImplementedAction" class="org.splat.simer.NotYetImplementedAction"
+ scope="prototype" parent="baseAction">
</bean>
- <bean id="searchStudyAction"
- class="org.splat.simer.SearchStudyAction" scope="prototype"
- parent="baseAction">
+ <bean id="searchStudyAction" class="org.splat.simer.SearchStudyAction"
+ scope="prototype" parent="baseAction">
<property name="projectSettings" ref="projectSettings" />
<property name="searchService" ref="searchService" />
- <property name="simulationContextService"
- ref="simulationContextService" />
+ <property name="simulationContextService" ref="simulationContextService" />
<property name="userService" ref="userService" />
</bean>
- <bean id="searchKnowledgeAction"
- class="org.splat.simer.SearchKnowledgeAction" scope="prototype"
- parent="baseAction">
+ <bean id="searchKnowledgeAction" class="org.splat.simer.SearchKnowledgeAction"
+ scope="prototype" parent="baseAction">
<property name="searchService" ref="searchService" />
- <property name="simulationContextService"
- ref="simulationContextService" />
- <property name="knowledgeElementTypeService"
- ref="knowledgeElementTypeService" />
+ <property name="simulationContextService" ref="simulationContextService" />
+ <property name="knowledgeElementTypeService" ref="knowledgeElementTypeService" />
<property name="userService" ref="userService" />
</bean>
- <bean id="searchDocumentAction"
- class="org.splat.simer.SearchDocumentAction" scope="prototype">
+ <bean id="searchDocumentAction" class="org.splat.simer.SearchDocumentAction"
+ scope="prototype">
</bean>
- <bean id="displayKnowledgeAction"
- class="org.splat.simer.DisplayKnowledgeAction" scope="prototype"
- parent="baseAction">
- <property name="knowledgeElementService"
- ref="knowledgeElementService" />
+ <bean id="displayKnowledgeAction" class="org.splat.simer.DisplayKnowledgeAction"
+ scope="prototype" parent="baseAction">
+ <property name="knowledgeElementService" ref="knowledgeElementService" />
</bean>
<bean id="uploadAction" class="org.splat.simer.UploadAction"
<property name="repositoryService" ref="repositoryService" />
</bean>
- <bean id="uploadStudyAction"
- class="org.splat.simer.UploadStudyAction" scope="prototype"
- parent="baseAction">
+ <bean id="uploadStudyAction" class="org.splat.simer.UploadStudyAction"
+ scope="prototype" parent="baseAction">
</bean>
- <bean id="versionDocumentAction"
- class="org.splat.simer.VersionDocumentAction" scope="prototype"
- parent="baseAction">
+ <bean id="versionDocumentAction" class="org.splat.simer.VersionDocumentAction"
+ scope="prototype" parent="baseAction">
<property name="projectSettings" ref="projectSettings" />
<property name="publicationService" ref="publicationService" />
<property name="stepService" ref="stepService" />
<property name="repositoryService" ref="repositoryService" />
</bean>
- <bean id="databaseIndexingAction"
- class="org.splat.simer.admin.DatabaseIndexingAction" scope="prototype"
- parent="baseAction">
+ <bean id="databaseIndexingAction" class="org.splat.simer.admin.DatabaseIndexingAction"
+ scope="prototype" parent="baseAction">
<property name="searchService" ref="searchService" />
</bean>
- <bean id="importUserAction"
- class="org.splat.simer.admin.ImportUserAction" scope="prototype"
- parent="baseAction">
+ <bean id="importUserAction" class="org.splat.simer.admin.ImportUserAction"
+ scope="prototype" parent="baseAction">
<property name="repositoryService" ref="repositoryService" />
<property name="userService" ref="userService" />
</bean>
- <bean id="simulationContextAction"
- class="org.splat.simer.admin.SimulationContextAction"
+ <bean id="simulationContextAction" class="org.splat.simer.admin.SimulationContextAction"
scope="prototype" parent="baseAction">
- <property name="knowledgeElementService"
- ref="knowledgeElementService" />
+ <property name="knowledgeElementService" ref="knowledgeElementService" />
<property name="searchService" ref="searchService" />
<property name="projectSettings" ref="projectSettings" />
- <property name="simulationContextService"
- ref="simulationContextService" />
+ <property name="simulationContextService" ref="simulationContextService" />
</bean>
- <bean id="knowledgeElementAction"
- class="org.splat.simer.admin.KnowledgeElementAction"
+ <bean id="knowledgeElementAction" class="org.splat.simer.admin.KnowledgeElementAction"
scope="prototype">
</bean>
- <bean id="saveDocumentAction"
- class="org.splat.module.SaveDocumentAction" scope="prototype">
+ <bean id="saveDocumentAction" class="org.splat.module.SaveDocumentAction"
+ scope="prototype">
<property name="documentTypeService" ref="documentTypeService" />
<property name="publicationService" ref="publicationService" />
<property name="repositoryService" ref="repositoryService" />
<property name="scenarioService" ref="scenarioService" />
<property name="stepService" ref="stepService" />
- <property name="simulationContextService"
- ref="simulationContextService" />
+ <property name="simulationContextService" ref="simulationContextService" />
</bean>
</beans>