the Spring3.1 has a new tag:  <cache:annotation-driven/> and it support
ehcache directly using bean config as follow:
 
<bean id="cacheManagerFactory"
class="org.springframework.cache.ehcache.EhCacheManagerFactoryBean"
     p:configLocation="classpath:ehcache.xml"/>
 
<bean id="cacheManager"
class="org.springframework.cache.ehcache.EhCacheCacheManager"
   p:cacheManager-ref="cacheManagerFactory"/>

how can I use spring3.1 with its cache tag and use cache in shiro?



--
View this message in context: 
http://shiro-user.582556.n2.nabble.com/shiro-cache-with-new-Spring3-1-tp7577743.html
Sent from the Shiro User mailing list archive at Nabble.com.

Reply via email to