mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Removed RetryingTransactionHelper and friends. AVMService's transactional
behavior is now declaratively specified. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3662 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -1007,9 +1007,6 @@
|
||||
<!-- The AVMService -->
|
||||
|
||||
<bean id="avmService" class="org.alfresco.repo.avm.AVMServiceImpl">
|
||||
<property name="retryingTransaction">
|
||||
<ref bean="retryingTransaction"/>
|
||||
</property>
|
||||
<property name="avmRepository">
|
||||
<ref bean="avmRepository"/>
|
||||
</property>
|
||||
@@ -1024,6 +1021,7 @@
|
||||
</property>
|
||||
<property name="interceptorNames">
|
||||
<list>
|
||||
<idref local="AVMService_transaction"/>
|
||||
<idref local="AVMService_descriptor"/>
|
||||
</list>
|
||||
</property>
|
||||
@@ -1038,6 +1036,22 @@
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
<bean id="AVMService_transaction" class="org.springframework.transaction.interceptor.TransactionInterceptor">
|
||||
<property name="transactionManager">
|
||||
<ref bean="transactionManager"/>
|
||||
</property>
|
||||
<property name="transactionAttributes">
|
||||
<props>
|
||||
<prop key="hasAspect">${server.transaction.mode.readOnly}</prop>
|
||||
<prop key="getContentDataForWrite">${server.transaction.mode.default}</prop>
|
||||
<prop key="getFileOutputStream">${server.transaction.mode.default}</prop>
|
||||
<prop key="get*">${server.transaction.mode.readOnly}</prop>
|
||||
<prop key="lookup">${server.transaction.mode.readOnly}</prop>
|
||||
<prop key="*">${server.transaction.mode.default}</prop>
|
||||
</props>
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
<!-- Workflow Service -->
|
||||
|
||||
<bean id="WorkflowService" class="org.springframework.aop.framework.ProxyFactoryBean">
|
||||
|
Reference in New Issue
Block a user