]> SALOME platform Git repositories - tools/siman.git/blobdiff - Workspace/Siman-Common/src/spring/technicalServiceContext.xml
Salome HOME
ProjectSettings are now configured when the bean is created (without call to a struts...
[tools/siman.git] / Workspace / Siman-Common / src / spring / technicalServiceContext.xml
index 2f8d9b5dec7d8787f1cd3c86bcca2a55536061f2..6def9c89c809f601e0e3c0ab2e60960fe3d24b73 100644 (file)
@@ -14,9 +14,20 @@ http://www.springframework.org/schema/tx/spring-tx-3.0.xsd">
        <bean id="repositoryService"
                class="org.splat.service.technical.RepositoryServiceImpl" />
 
+    <bean id="stepsConfigService"
+        class="org.splat.service.technical.StepsConfigServiceImpl"/>
+        
        <bean id="projectSettings"
-               class="org.splat.service.technical.ProjectSettingsServiceImpl">
+               class="org.splat.service.technical.ProjectSettingsServiceImpl"
+               init-method="configure">
+               <property name="config" value="${wapp.configuration}" />
+        <property name="stepsConfigService" ref="stepsConfigService" />
                <property name="database" ref="database" />
+               <property name="simulationContextTypeService"
+                       ref="simulationContextTypeService" />
+               <property name="documentTypeService" ref="documentTypeService" />
+               <property name="knowledgeElementTypeService"
+                       ref="knowledgeElementTypeService" />
        </bean>
 
        <bean id="indexService"