applicationContext-ehcache.xml 540 B

1234567891011
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd"
  4. default-lazy-init="true">
  5. <description>EhCache配置文件</description>
  6. <bean id="ehcacheManager" class="org.springframework.cache.ehcache.EhCacheManagerFactoryBean">
  7. <property name="configLocation" value="classpath:ehcache.xml" />
  8. </bean>
  9. </beans>