Skip to content

Instantly share code, notes, and snippets.

@lalyos
Created July 10, 2012 12:02
Show Gist options
  • Save lalyos/3082909 to your computer and use it in GitHub Desktop.
Save lalyos/3082909 to your computer and use it in GitHub Desktop.
<cache:annotation-driven />
<bean id="cacheManager" class="o.s.c.support.SimpleCacheManager">
<property name="caches">
<set>
<bean class="o.s.c.concurrent.ConcurrentMapCacheFactoryBean" p:name="default" />
<bean class="o.s.c.concurrent.ConcurrentMapCacheFactoryBean" p:name="users" />
</set>
</property>
</bean>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment