Closed
Description
Gaetan Pitteloud opened SPR-8696 and commented
A qualifier attribute on @Cacheable
would help to specify a CacheManager
in the scenario described in the referenced forum post and summarized here:
Two modules define their own
CacheManager
and use@Cacheable
together with<cache:annotation-driven cache-manager="_some_name_"/>
in their respective XML configuration files.When the XML configuration files from the two modules are used to build a single
ApplicationContext
, the secondCacheManager
is ignored as only one cache interceptor is registered by the namespace.
Affects: 3.1 M2
Reference URL: http://forum.springsource.org/showthread.php?110853
Issue Links:
- Enable Executor qualification with @Async [SPR-6847] #11513 Enable Executor qualification with
@Async
- Be able to specify custom key generators on a per-cache basis [SPR-10629] #15257 Be able to specify custom key generators on a per-cache basis
- Provide a @CacheConfig annotation to share class-level customizations [SPR-11316] #15940 Provide a
@CacheConfig
annotation to share class-level customizations - Apply CacheResolver to Spring's caching abstraction [SPR-11490] #16115 Apply CacheResolver to Spring's caching abstraction
Referenced from: commits 2b89c1a, f06cad9
10 votes, 12 watchers