Files
alfresco-community-repo/config/alfresco/extension/mt/mt-contentstore-context.xml.sample
Kevin Roast 7f41a56382 Merged V3.0 to HEAD
11450: Merged V2.2 to V3.0
      11408: Merged V2.1 to V2.2
         11345: Fixed ETWOONE-388: Long query sort times against large alf_transaction tables
   11453: Gave Locale and QName caches explicit names so they don't share the same cache
   11459: Fixed missing URL encoding for username when building URLs in web-tier webscripts.
   11460: MT - fix ETHREEOH-542
   11461: Fix for ETHREEOH-28. Fix for ETHREEOH-541.
   11462: Build fix

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@12441 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-12-17 12:06:19 +00:00

57 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'>
<beans>
<!-- ======================================= -->
<!-- Tenant Routing File Content Store Cache -->
<!-- ======================================= -->
<bean name="tenantFileStoresCache" 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.cache.tenantFileStoresCache</value>
</property>
</bean>
</property>
</bean>
<!-- -->
<!-- Tenant Routing File Content Store -->
<!-- -->
<bean id="tenantFileContentStore" class="org.alfresco.repo.content.TenantRoutingFileContentStore" init-method="init">
<property name="defaultRootDir">
<value>${dir.contentstore}</value>
</property>
<property name="tenantService">
<ref bean="tenantService" />
</property>
<property name="storesCache">
<ref bean="tenantFileStoresCache" />
</property>
</bean>
<!-- override content store cleaner to use tenant routing file content store -->
<!-- Performs the content cleanup -->
<bean id="contentStoreCleaner" parent="baseContentStoreCleaner">
<property name="stores" >
<list>
<ref bean="tenantFileContentStore" />
</list>
</property>
</bean>
<!-- override content service to use tenant routing file content store -->
<bean id="contentService" parent="baseContentService">
<property name="store">
<ref bean="tenantFileContentStore" />
</property>
</bean>
</beans>