--- /dev/null
+<?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:tx="http://www.springframework.org/schema/tx"
+ xsi:schemaLocation="
+http://www.springframework.org/schema/beans
+http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
+http://www.springframework.org/schema/aop
+http://www.springframework.org/schema/aop/spring-aop-3.0.xsd
+http://www.springframework.org/schema/tx
+http://www.springframework.org/schema/tx/spring-tx-3.0.xsd">
+
+ <bean id="genericDAO" class="org.splat.dal.dao.kernel.GenericDAOImpl"
+ abstract="true">
+ <property name="sessionFactory" ref="simanSessionFactory" />
+ </bean>
+ <bean id="knowledgeElementDAO" parent="genericDAO"
+ class="org.splat.dal.dao.som.KnowledgeElementDAOImpl">
+ </bean>
+</beans>
\ No newline at end of file
+++ /dev/null
-<?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:tx="http://www.springframework.org/schema/tx"
- xsi:schemaLocation="
-http://www.springframework.org/schema/beans
-http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
-http://www.springframework.org/schema/aop
-http://www.springframework.org/schema/aop/spring-aop-3.0.xsd
-http://www.springframework.org/schema/tx
-http://www.springframework.org/schema/tx/spring-tx-3.0.xsd">
-
- <bean id="genericDAO" class="org.splat.dal.dao.kernel.GenericDAOImpl"
- abstract="true">
- <property name="sessionFactory" ref="simanSessionFactory" />
- </bean>
- <bean id="knowledgeElementDAO" parent="genericDAO"
- class="org.splat.dal.dao.som.KnowledgeElementDAOImpl">
- </bean>
-</beans>
\ No newline at end of file
</bean>
<bean id="openKnowledge" class="org.splat.simer.OpenKnowledge"
- scope="prototype">
+ scope="session">
<property name="projectElementService"
ref="projectElementService" />
<property name="projectSettings" ref="projectSettings" />
<property name="openKnowledge" ref="openKnowledge" />
</bean>
+ <!--========= Inherited from baseAction =========-->
+
+ <bean id="newStudyAction" class="org.splat.simer.NewStudyAction"
+ parent="baseAction" scope="prototype">
+ <property name="studyService" ref="studyService" />
+ </bean>
+
<bean id="displayStudyStepAction"
class="org.splat.simer.DisplayStudyStepAction" parent="baseAction"
scope="prototype">
<property name="studyService" ref="studyService" />
</bean>
- <bean id="newStudyAction" class="org.splat.simer.NewStudyAction"
- parent="baseAction" scope="prototype">
- <property name="studyService" ref="studyService" />
+ <!--========= Inherited from displayStudyStepAction =========-->
+
+ <bean id="studyPropertiesAction"
+ class="org.splat.simer.StudyPropertiesAction" scope="prototype"
+ parent="displayStudyStepAction">
+ </bean>
+
+ <bean id="editStudyAction" class="org.splat.simer.EditStudyAction"
+ scope="prototype" parent="displayStudyStepAction">
+ </bean>
+
+ <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">
+ <property name="stepService" ref="stepService" />
+ </bean>
+
+ <bean id="editDocumentAction"
+ class="org.splat.simer.EditDocumentAction" scope="prototype"
+ parent="displayStudyStepAction">
+ <property name="publicationService" ref="publicationService" />
</bean>
+ <bean id="editKnowledgeElementAction"
+ class="org.splat.simer.EditKnowledgeElementAction" scope="prototype"
+ parent="displayStudyStepAction">
+ <property name="knowledgeElementService"
+ ref="knowledgeElementService" />
+ <property name="scenarioService" ref="scenarioService" />
+ </bean>
+
+ <!-- End of Inherited from displayStudyStepAction -->
+
<bean id="startAction" class="org.splat.simer.StartAction"
scope="prototype">
<property name="applicationSettings" ref="applicationSettings" />
class="org.splat.simer.SearchDocumentAction" scope="prototype">
</bean>
- <bean id="studyPropertiesAction"
- class="org.splat.simer.StudyPropertiesAction" scope="prototype">
- <property name="studyService" ref="studyService" />
- </bean>
-
<bean id="displayKnowledgeAction"
class="org.splat.simer.DisplayKnowledgeAction" scope="prototype">
<property name="knowledgeElementService"
ref="knowledgeElementService" />
</bean>
- <bean id="editStudyAction" class="org.splat.simer.EditStudyAction"
- scope="prototype">
- <property name="studyService" ref="studyService" />
- </bean>
-
<bean id="newScenarioAction"
class="org.splat.simer.NewScenarioAction" scope="prototype">
<property name="projectElementService"
<property name="studyService" ref="studyService" />
</bean>
- <bean id="editScenarioPropertiesAction"
- class="org.splat.simer.EditScenarioPropertiesAction"
- scope="prototype">
- <property name="projectElementService"
- ref="projectElementService" />
- <property name="scenarioService" ref="scenarioService" />
- </bean>
-
- <bean id="editSimulationContextAction"
- class="org.splat.simer.EditSimulationContextAction"
- scope="prototype">
- <property name="stepService" ref="stepService" />
- <property name="studyService" ref="studyService" />
- </bean>
-
<bean id="uploadAction" class="org.splat.simer.UploadAction"
scope="prototype">
</bean>
<property name="stepService" ref="stepService" />
</bean>
- <bean id="editDocumentAction"
- class="org.splat.simer.EditDocumentAction" scope="prototype">
- <property name="publicationService" ref="publicationService" />
- </bean>
-
- <bean id="editKnowledgeElementAction"
- class="org.splat.simer.EditKnowledgeElementAction"
- scope="prototype" parent="baseAction">
- <property name="knowledgeElementService"
- ref="knowledgeElementService" />
- <property name="scenarioService" ref="scenarioService" />
- </bean>
-
<bean id="databaseIndexingAction"
class="org.splat.simer.admin.DatabaseIndexingAction"
scope="prototype">