The outside hooks for AVMSyncService are in place and the implementation

of the simplest method, resetLayer is done.
Also fixed goofy merge induced bug in DbNodeServiceImpl.
Can we make merging a punishment for naughty Alfrescans?


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3778 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Britt Park
2006-09-13 05:45:24 +00:00
parent d5294a4879
commit a06fc74aef
10 changed files with 329 additions and 27 deletions

View File

@@ -1012,21 +1012,21 @@
</property>
</bean>
<bean id="AVMService" class="org.springframework.aop.framework.ProxyFactoryBean">
<property name="proxyInterfaces">
<value>org.alfresco.service.cmr.avm.AVMService</value>
</property>
<property name="target">
<ref bean="avmService"/>
</property>
<property name="interceptorNames">
<list>
<idref local="AVMService_transaction"/>
<idref local="AVMService_descriptor"/>
</list>
</property>
</bean>
<bean id="AVMService" class="org.springframework.aop.framework.ProxyFactoryBean">
<property name="proxyInterfaces">
<value>org.alfresco.service.cmr.avm.AVMService</value>
</property>
<property name="target">
<ref bean="avmService"/>
</property>
<property name="interceptorNames">
<list>
<idref local="AVMService_transaction"/>
<idref local="AVMService_descriptor"/>
</list>
</property>
</bean>
<bean id="AVMService_descriptor" parent="AlfrescoServiceDescriptor">
<property name="interface">
<value>org.alfresco.service.cmr.avm.AVMService</value>
@@ -1052,6 +1052,52 @@
</property>
</bean>
<!-- The AVMSyncService -->
<bean id="avmSyncService" class="org.alfresco.repo.avm.AVMSyncServiceImpl">
<property name="avmService">
<ref bean="avmService"/>
</property>
</bean>
<bean id="AVMSyncService_descriptor" parent="AlfrescoServiceDescriptor">
<property name="interface">
<value>org.alfresco.service.cmr.avmsync.AVMSyncService</value>
</property>
<property name="description">
<value>AVM Tree Synchronization Service</value>
</property>
</bean>
<bean id="AVMSyncService_transaction" class="org.springframework.transaction.interceptor.TransactionInterceptor">
<property name="transactionManager">
<ref bean="transactionManager"/>
</property>
<property name="transactionAttributes">
<props>
<prop key="compare">${server.transaction.mode.readOnly}</prop>
<prop key="update">${server.transaction.mode.default}</prop>
<prop key="flatten">${server.transaction.mode.default}</prop>
<prop key="resetLayer">${server.transaction.mode.default}</prop>
</props>
</property>
</bean>
<bean id="AVMSyncService" class="org.springframework.aop.framework.ProxyFactoryBean">
<property name="proxyInterfaces">
<value>org.alfresco.service.cmr.avmsync.AVMSyncService</value>
</property>
<property name="target">
<ref bean="avmSyncService"/>
</property>
<property name="interceptorNames">
<list>
<idref local="AVMSyncService_transaction"/>
<idref local="AVMSyncService_descriptor"/>
</list>
</property>
</bean>
<!-- Workflow Service -->
<bean id="WorkflowService" class="org.springframework.aop.framework.ProxyFactoryBean">