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="exceptionAction" class="org.splat.simer.ExceptionAction"
+ scope="prototype" />
+
<bean id="applicationSettings"
- class="org.splat.simer.ApplicationSettings" factory-method="getMe">
+ class="org.splat.simer.ApplicationSettings" scope="session">
<property name="projectSettings" ref="projectSettings" />
<property name="documentTypeService" ref="documentTypeService" />
</bean>
- <bean id="importedStudy" class="org.splat.simer.admin.ImportedStudy"
- scope="prototype">
- <property name="searchService" ref="searchService" />
+ <bean id="redirectOnEndOfSessionInterceptor"
+ class="org.splat.simer.SimanRedirectOnEndOfSessionInterceptor">
+ <property name="globalResult" value="home" />
+ </bean>
+
+ <bean id="menuBarSettings" class="org.splat.simer.MenuBarSettings"
+ scope="session">
+ </bean>
+
+ <bean id="titleBarSettings" class="org.splat.simer.TitleBarSettings"
+ scope="session">
+ </bean>
+
+ <bean id="toolBarSettings" class="org.splat.simer.ToolBarSettings"
+ scope="session">
+ </bean>
+
+ <bean id="leftMenuSettings" class="org.splat.simer.LeftMenuSettings"
+ scope="session">
</bean>
<bean id="slidMenu" scope="session" abstract="true">
scope="session" parent="slidMenu" />
<bean id="openObject" abstract="true"
- class="org.splat.simer.OpenObject" scope="session">
+ class="org.splat.simer.AbstractOpenObject" scope="session">
+ <property name="applicationSettings" ref="applicationSettings" />
<property name="projectElementService"
ref="projectElementService" />
<property name="projectSettings" ref="projectSettings" />
parent="openObject" scope="session">
</bean>
- <bean id="baseAction" class="org.splat.simer.Action"
+ <bean id="invalidateAction" class="org.splat.simer.InvalidateAction"/>
+
+ <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" />
+ <property name="menuBarSettings" ref="menuBarSettings" />
+ <property name="titleBarSettings" ref="titleBarSettings" />
+ <property name="toolBarSettings" ref="toolBarSettings" />
+ <property name="leftMenuSettings" ref="leftMenuSettings" />
</bean>
<!--========= Inherited from baseAction ========= -->
<property name="simulationContextService"
ref="simulationContextService" />
<property name="scenarioService" ref="scenarioService" />
- <property name="studyService" ref="studyService" />
</bean>
<bean id="newScenarioAction"
<property name="menu" ref="newScenarioMenu" />
</bean>
+ <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="projectSettings" ref="projectSettings" />
<property name="publicationService" ref="publicationService" />
<property name="repositoryService" ref="repositoryService" />
- <property name="documentService" ref="documentService" />
- <property name="documentTypeService" ref="documentTypeService" />
+ <property name="documentService" ref="documentService" />
+ <property name="documentTypeService" ref="documentTypeService" />
</bean>
<bean id="displayStudyStepAction"
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"
<!-- End of Inherited from displayStudyStepAction -->
<bean id="startAction" class="org.splat.simer.StartAction"
- scope="prototype">
+ scope="prototype" parent="baseAction">
<property name="applicationSettings" ref="applicationSettings" />
<property name="projectSettings" ref="projectSettings" />
</bean>
<bean id="connectionAction" class="org.splat.simer.ConnectionAction"
- scope="prototype">
+ scope="prototype" parent="baseAction">
</bean>
<bean id="menuAction" class="org.splat.simer.MenuAction"
- scope="prototype">
+ scope="prototype" parent="baseAction">
</bean>
<bean id="notYetImplementedAction"
- class="org.splat.simer.NotYetImplementedAction" scope="prototype">
+ class="org.splat.simer.NotYetImplementedAction" scope="prototype"
+ parent="baseAction">
</bean>
<bean id="searchStudyAction"
- class="org.splat.simer.SearchStudyAction" scope="prototype">
+ class="org.splat.simer.SearchStudyAction" scope="prototype"
+ parent="baseAction">
<property name="projectSettings" ref="projectSettings" />
<property name="searchService" ref="searchService" />
<property name="simulationContextService"
</bean>
<bean id="searchKnowledgeAction"
- class="org.splat.simer.SearchKnowledgeAction" scope="prototype">
+ class="org.splat.simer.SearchKnowledgeAction" scope="prototype"
+ parent="baseAction">
<property name="searchService" ref="searchService" />
<property name="simulationContextService"
ref="simulationContextService" />
</bean>
<bean id="displayKnowledgeAction"
- class="org.splat.simer.DisplayKnowledgeAction" scope="prototype">
+ class="org.splat.simer.DisplayKnowledgeAction" scope="prototype"
+ parent="baseAction">
<property name="knowledgeElementService"
ref="knowledgeElementService" />
</bean>
<bean id="uploadAction" class="org.splat.simer.UploadAction"
- scope="prototype">
+ scope="prototype" parent="baseAction">
<property name="repositoryService" ref="repositoryService" />
</bean>
+ <bean id="uploadStudyAction"
+ class="org.splat.simer.UploadStudyAction" scope="prototype"
+ parent="baseAction">
+ </bean>
+
<bean id="versionDocumentAction"
- class="org.splat.simer.VersionDocumentAction" scope="prototype">
+ class="org.splat.simer.VersionDocumentAction" scope="prototype"
+ parent="baseAction">
<property name="projectSettings" ref="projectSettings" />
<property name="publicationService" ref="publicationService" />
<property name="stepService" ref="stepService" />
</bean>
<bean id="databaseIndexingAction"
- class="org.splat.simer.admin.DatabaseIndexingAction"
- scope="prototype">
- <property name="importedStudy" ref="importedStudy" />
+ 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">
+ 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"
- scope="prototype">
+ scope="prototype" parent="baseAction">
<property name="knowledgeElementService"
ref="knowledgeElementService" />
<property name="searchService" ref="searchService" />
scope="prototype">
</bean>
- <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" />
- </bean>
-
</beans>