Salome HOME
Beans initialization is fixed. Document can be added to study now.
[tools/siman.git] / Workspace / Siman-Common / src / spring / businessServiceContext.xml
index 01da7c59a2c6561ec2e3140ffc97d5b2bcbd4401..337c839f4780d7043d032561d1ef55a0823e031f 100644 (file)
@@ -18,8 +18,13 @@ http://www.springframework.org/schema/tx/spring-tx-3.0.xsd">
 
        <bean id="documentTypeService"
                class="org.splat.service.DocumentTypeServiceImpl">
-               <property name="projectSettingsService"
-                       ref="projectSettings" />
+               <property name="projectSettings" ref="projectSettings" />
+       </bean>
+
+       <bean id="documentService"
+               class="org.splat.service.DocumentServiceImpl">
+               <property name="projectSettings" ref="projectSettings" />
+               <property name="studyService" ref="studyService" />
        </bean>
 
        <bean id="knowledgeElementService"
@@ -54,6 +59,7 @@ http://www.springframework.org/schema/tx/spring-tx-3.0.xsd">
 
        <bean id="stepService" class="org.splat.service.StepServiceImpl">
                <property name="indexService" ref="indexService" />
+               <property name="documentService" ref="documentService" />
        </bean>
 
        <bean id="studyService"