mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
12983: Merged V2.1-A to V3.1 8668: Added authorityDisplayName 12985: Merged V2.1-A to V3.1 8706: (record-only) Build fixes after removing the guest user - DO NOT MERGE 12990: Merged V3.0 to V3.1 12922: Merged V2.2 to V3.0 12555: Fix ETWOTWO-972 (Remove Lookup Cache) 12558: Fix ETWOTWO-978 (L2 Cache removal for No Row Issues) 12928: Merged V2.2 to V3.0 11319: Fix for ETWOTWO-73 (missed merge ?) ___________________________________________________________________ Modified: svn:mergeinfo Merged /alfresco/BRANCHES/V2.1-A:r8668,8706 Merged /alfresco/BRANCHES/V3.0:r12922,12928 Merged /alfresco/BRANCHES/V2.2:r12555,12558 Merged /alfresco/BRANCHES/V3.1:r12983,12985,12990 git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13546 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
58 lines
1.9 KiB
XML
58 lines
1.9 KiB
XML
<?xml version='1.0' encoding='UTF-8'?>
|
|
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
|
|
|
|
<!-- Activate this extension to enable AVM lookup path caching. -->
|
|
<!-- This was the default behaviour prior to 2.2 SP3 & 3.1 -->
|
|
|
|
<beans>
|
|
|
|
<bean id="lookupCache" class="org.alfresco.repo.avm.TransactionalLookupCache">
|
|
<property name="avmNodeDAO">
|
|
<ref bean="avmNodeDAO"/>
|
|
</property>
|
|
<property name="avmStoreDAO">
|
|
<ref bean="avmStoreDAO"/>
|
|
</property>
|
|
<property name="transactionalCache">
|
|
<ref bean="avmLookupCache"/>
|
|
</property>
|
|
</bean>
|
|
|
|
<!-- ===================================== -->
|
|
<!-- AVM Lookup Cache -->
|
|
<!-- ===================================== -->
|
|
|
|
<!-- The cross-transaction shared cache for AVM lookups -->
|
|
|
|
<bean name="avmLookupSharedCache" class="org.alfresco.repo.cache.EhCacheAdapter">
|
|
<property name="cache">
|
|
<bean class="org.springframework.cache.ehcache.EhCacheFactoryBean">
|
|
<property name="cacheManager">
|
|
<ref bean="internalEHCacheManager"/>
|
|
</property>
|
|
<property name="cacheName">
|
|
<value>org.alfresco.repo.avm.lookupSharedCache</value>
|
|
</property>
|
|
</bean>
|
|
</property>
|
|
</bean>
|
|
|
|
<!-- Transactional cache for AVM lookups -->
|
|
|
|
<bean name="avmLookupCache" class="org.alfresco.repo.cache.TransactionalCache">
|
|
<property name="sharedCache">
|
|
<ref bean="avmLookupSharedCache"/>
|
|
</property>
|
|
<property name="cacheManager">
|
|
<ref bean="transactionalEHCacheManager"/>
|
|
</property>
|
|
<property name="name">
|
|
<value>org.alfresco.repo.avm.lookupTransactionalCache</value>
|
|
</property>
|
|
<property name="maxCacheSize">
|
|
<value>100</value>
|
|
</property>
|
|
</bean>
|
|
|
|
</beans>
|