It is now possible to specify the CacheManager to use per operation.
The related cache annotation now has an extra attribute that defines
the name of the CacheManager bean to use. The cache manager that
was previously used is therefore a 'default' cache manager (i.e. the
one to use if no custom cache manager has been set on the operation).
Issue: SPR-8696
@ -117,6 +117,18 @@ public class AnnotatedClassCacheableService implements CacheableService<Object>
@@ -117,6 +117,18 @@ public class AnnotatedClassCacheableService implements CacheableService<Object>
@ -121,6 +121,18 @@ public class DefaultCacheableService implements CacheableService<Long> {
@@ -121,6 +121,18 @@ public class DefaultCacheableService implements CacheableService<Long> {
@ -88,6 +89,7 @@ public class SpringCacheAnnotationParser implements CacheAnnotationParser, Seria
@@ -88,6 +89,7 @@ public class SpringCacheAnnotationParser implements CacheAnnotationParser, Seria
@ -100,6 +102,7 @@ public class SpringCacheAnnotationParser implements CacheAnnotationParser, Seria
@@ -100,6 +102,7 @@ public class SpringCacheAnnotationParser implements CacheAnnotationParser, Seria
@ -115,6 +118,7 @@ public class SpringCacheAnnotationParser implements CacheAnnotationParser, Seria
@@ -115,6 +118,7 @@ public class SpringCacheAnnotationParser implements CacheAnnotationParser, Seria
@ -119,6 +120,18 @@ public class AnnotatedClassCacheableService implements CacheableService<Object>
@@ -119,6 +120,18 @@ public class AnnotatedClassCacheableService implements CacheableService<Object>
@ -121,6 +122,18 @@ public class DefaultCacheableService implements CacheableService<Long> {
@@ -121,6 +122,18 @@ public class DefaultCacheableService implements CacheableService<Long> {
@ -145,6 +146,13 @@ public class EnableCachingTests extends AbstractAnnotationTests {
@@ -145,6 +146,13 @@ public class EnableCachingTests extends AbstractAnnotationTests {