Skip to content

Instantly share code, notes, and snippets.

@sara4dev
Last active December 23, 2015 09:19

Revisions

  1. @speriyasamy speriyasamy renamed this gist Sep 18, 2013. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. @speriyasamy speriyasamy revised this gist Sep 18, 2013. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion SpringCacheManagerBean
    Original file line number Diff line number Diff line change
    @@ -4,5 +4,5 @@

    <!-- Ehcache library setup -->
    <bean id="ehcache" class="org.springframework.cache.ehcache.EhCacheManagerFactoryBean">
    <property name="configLocation" value="classpath:cache-config.xml"/>
    <property name="configLocation" value="classpath:ehcache.xml"/>
    </bean>
  3. @speriyasamy speriyasamy created this gist Sep 18, 2013.
    8 changes: 8 additions & 0 deletions SpringCacheManagerBean
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    <bean id="cacheManager" class="org.springframework.cache.ehcache.EhCacheCacheManager">
    <property name="cacheManager" ref="ehcache"/>
    </bean>

    <!-- Ehcache library setup -->
    <bean id="ehcache" class="org.springframework.cache.ehcache.EhCacheManagerFactoryBean">
    <property name="configLocation" value="classpath:cache-config.xml"/>
    </bean>