Files
alfresco-community-repo/config/alfresco/attributes-service-context.xml
Derek Hulley 733d27742b Merged V3.2 to HEAD
16937: Merged V3.2 to V3.1
      16891: Merged V2.2 to V3.1
         16772: Fix unreported bugs found by new code (ArgumentHelper)
         16773: AlfrescoJobExecutor thread is now a 'daemon' thread
         16774: Increases sizes of 'parent assocs' and 'NodeRef-ID' caches
         16775: Session L1 cache size improvements
         16777: Transactional cache issues warning when it overflows
         16779: Fixed ETHREEOH-2657: Performance: slow answers to directory listings
         16797: Set AVM L1 Hibernate object retention to 0
         16829: Read vs Write split in Session size management
         16834: Build fix for SessionSizeManagementTest
___________________________________________________________________
Modified: svn:mergeinfo
   Merged /alfresco/BRANCHES/V2.2:r16772-16775,16777,16779,16797,16829,16834
   Merged /alfresco/BRANCHES/V3.1:r16891
   Merged /alfresco/BRANCHES/V3.2:r16937


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@17018 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-10-19 11:48:23 +00:00

141 lines
4.6 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING/DTD BEAN//EN"
"http://www.springframework.org/dtd/spring-beans.dtd">
<beans>
<bean id="attrSessionSizeResourceInterceptor" class="org.alfresco.repo.transaction.SingleEntryTransactionResourceInterceptor" >
<property name="methodResourceManagers">
<list>
<ref bean="attrSessionSizeResourceManager"></ref>
</list>
</property>
<property name="elapsedTimeBeforeActivationMillis">
<value>500</value>
</property>
<property name="resourceManagerCallFrequencyMillis">
<value>250</value>
</property>
</bean>
<bean id="attrSessionSizeResourceManager" class="org.alfresco.repo.domain.hibernate.SessionSizeResourceManager">
<property name="sessionFactory">
<ref bean="sessionFactory" />
</property>
<property name="writeThreshold">
<value>100</value>
</property>
<property name="readThreshold">
<value>100</value>
</property>
<property name="retentionFactor">
<value>0</value>
</property>
</bean>
<bean id="attributeService" class="org.springframework.aop.framework.ProxyFactoryBean">
<property name="proxyInterfaces">
<value>org.alfresco.service.cmr.attributes.AttributeService</value>
</property>
<property name="target">
<ref bean="attributeServiceBase"/>
</property>
<property name="interceptorNames">
<list>
<value>attrSessionSizeResourceInterceptor</value>
</list>
</property>
</bean>
<bean id="attributeServiceBase" class="org.alfresco.repo.attributes.AttributeServiceImpl">
<property name="attributeConverter">
<ref bean="attributeConverter"/>
</property>
<property name="globalAttributeEntryDao">
<ref bean="globalAttributeEntryDAO"/>
</property>
<property name="attributeDao">
<ref bean="attributeDAO"/>
</property>
</bean>
<bean id="attributeConverter" class="org.alfresco.repo.attributes.AttributeConverter"/>
<bean id="attributeDAO" class="org.springframework.aop.framework.ProxyFactoryBean">
<property name="target">
<ref bean="attributeDAOImpl" />
</property>
<property name="interceptorNames">
<list>
<value>daoServiceDirtySessionInterceptor</value>
</list>
</property>
</bean>
<bean id="attributeDAOImpl" class="org.alfresco.repo.attributes.hibernate.AttributeDAOHibernate">
<property name="sessionFactory">
<ref bean="sessionFactory"/>
</property>
<property name="mapEntryDao">
<ref bean="mapEntryDAO"/>
</property>
<property name="listEntryDao">
<ref bean="listEntryDAO"/>
</property>
</bean>
<bean id="globalAttributeEntryDAO" class="org.springframework.aop.framework.ProxyFactoryBean">
<property name="target">
<ref bean="globalAttributeEntryDAOImpl" />
</property>
<property name="interceptorNames">
<list>
<value>daoServiceDirtySessionInterceptor</value>
</list>
</property>
</bean>
<bean id="globalAttributeEntryDAOImpl" class="org.alfresco.repo.attributes.hibernate.GlobalAttributeEntryDAOHibernate">
<property name="sessionFactory">
<ref bean="sessionFactory"/>
</property>
<property name="attributeDao">
<ref bean="attributeDAO"/>
</property>
</bean>
<bean id="mapEntryDAO" class="org.springframework.aop.framework.ProxyFactoryBean">
<property name="target">
<ref bean="mapEntryDAOImpl" />
</property>
<property name="interceptorNames">
<list>
<value>daoServiceDirtySessionInterceptor</value>
</list>
</property>
</bean>
<bean id="mapEntryDAOImpl" class="org.alfresco.repo.attributes.hibernate.MapEntryDAOHibernate">
<property name="sessionFactory">
<ref bean="sessionFactory"/>
</property>
</bean>
<bean id="listEntryDAO" class="org.springframework.aop.framework.ProxyFactoryBean">
<property name="target">
<ref bean="listEntryDAOImpl" />
</property>
<property name="interceptorNames">
<list>
<value>daoServiceDirtySessionInterceptor</value>
</list>
</property>
</bean>
<bean id="listEntryDAOImpl" class="org.alfresco.repo.attributes.hibernate.ListEntryDAOHibernate">
<property name="sessionFactory">
<ref bean="sessionFactory"/>
</property>
</bean>
</beans>