Closed
Description
Stéphane Nicoll opened SPR-11490 and commented
The JSR-107 support (#14250) introduced the concept of CacheResolver
that allows to resolve the cache(s) to use at runtime.
Right now, the only reason why the CacheManager
is specified is to resolve the cache(s) based on the name(s) provided through the annotation or the cache advice.
The CacheResolver should also be supported by Spring's caching abstraction which would allow to offer a finer level of control of cache resolution.
Issue Links:
- Introduce qualifier in @Cacheable for cache manager name [SPR-8696] #13338 Introduce qualifier in
@Cacheable
for cache manager name - Support for JSR-107 caching annotations [SPR-9616] #14250 Support for JSR-107 caching annotations
- Provide a @CacheConfig annotation to share class-level customizations [SPR-11316] #15940 Provide a
@CacheConfig
annotation to share class-level customizations