Skip to content

Commit 036896a

Browse files
committed
Split configuration constants into local XConfigUtils classes instead of piling them up in AnnotationConfigUtils
1 parent 7971f6b commit 036896a

File tree

22 files changed

+225
-232
lines changed

22 files changed

+225
-232
lines changed

spring-aspects/src/main/java/org/springframework/cache/aspectj/AspectJCachingConfiguration.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2012 the original author or authors.
2+
* Copyright 2002-2014 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -18,7 +18,7 @@
1818

1919
import org.springframework.beans.factory.config.BeanDefinition;
2020
import org.springframework.cache.annotation.AbstractCachingConfiguration;
21-
import org.springframework.context.annotation.AnnotationConfigUtils;
21+
import org.springframework.cache.config.CacheManagementConfigUtils;
2222
import org.springframework.context.annotation.Bean;
2323
import org.springframework.context.annotation.Configuration;
2424
import org.springframework.context.annotation.Role;
@@ -35,7 +35,7 @@
3535
@Configuration
3636
public class AspectJCachingConfiguration extends AbstractCachingConfiguration {
3737

38-
@Bean(name=AnnotationConfigUtils.CACHE_ASPECT_BEAN_NAME)
38+
@Bean(name = CacheManagementConfigUtils.CACHE_ASPECT_BEAN_NAME)
3939
@Role(BeanDefinition.ROLE_INFRASTRUCTURE)
4040
public AnnotationCacheAspect cacheAspect() {
4141
AnnotationCacheAspect cacheAspect = AnnotationCacheAspect.aspectOf();

spring-aspects/src/main/java/org/springframework/cache/aspectj/AspectJJCacheConfiguration.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,8 @@
1717
package org.springframework.cache.aspectj;
1818

1919
import org.springframework.beans.factory.config.BeanDefinition;
20-
import org.springframework.cache.annotation.AbstractCachingConfiguration;
20+
import org.springframework.cache.config.CacheManagementConfigUtils;
2121
import org.springframework.cache.jcache.config.AbstractJCacheConfiguration;
22-
import org.springframework.context.annotation.AnnotationConfigUtils;
2322
import org.springframework.context.annotation.Bean;
2423
import org.springframework.context.annotation.Configuration;
2524
import org.springframework.context.annotation.Role;
@@ -37,7 +36,7 @@
3736
@Configuration
3837
public class AspectJJCacheConfiguration extends AbstractJCacheConfiguration {
3938

40-
@Bean(name=AnnotationConfigUtils.JCACHE_ASPECT_BEAN_NAME)
39+
@Bean(name = CacheManagementConfigUtils.JCACHE_ASPECT_BEAN_NAME)
4140
@Role(BeanDefinition.ROLE_INFRASTRUCTURE)
4241
public JCacheCacheAspect cacheAspect() {
4342
JCacheCacheAspect cacheAspect = JCacheCacheAspect.aspectOf();

spring-aspects/src/main/java/org/springframework/scheduling/aspectj/AspectJAsyncConfiguration.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2013 the original author or authors.
2+
* Copyright 2002-2014 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -17,12 +17,12 @@
1717
package org.springframework.scheduling.aspectj;
1818

1919
import org.springframework.beans.factory.config.BeanDefinition;
20-
import org.springframework.context.annotation.AnnotationConfigUtils;
2120
import org.springframework.context.annotation.Bean;
2221
import org.springframework.context.annotation.Configuration;
2322
import org.springframework.context.annotation.Role;
2423
import org.springframework.scheduling.annotation.AbstractAsyncConfiguration;
2524
import org.springframework.scheduling.annotation.EnableAsync;
25+
import org.springframework.scheduling.config.TaskManagementConfigUtils;
2626

2727
/**
2828
* {@code @Configuration} class that registers the Spring infrastructure beans necessary
@@ -37,7 +37,7 @@
3737
@Configuration
3838
public class AspectJAsyncConfiguration extends AbstractAsyncConfiguration {
3939

40-
@Bean(name=AnnotationConfigUtils.ASYNC_EXECUTION_ASPECT_BEAN_NAME)
40+
@Bean(name = TaskManagementConfigUtils.ASYNC_EXECUTION_ASPECT_BEAN_NAME)
4141
@Role(BeanDefinition.ROLE_INFRASTRUCTURE)
4242
public AnnotationAsyncExecutionAspect asyncAdvisor() {
4343
AnnotationAsyncExecutionAspect asyncAspect = AnnotationAsyncExecutionAspect.aspectOf();

spring-aspects/src/main/java/org/springframework/transaction/aspectj/AspectJTransactionManagementConfiguration.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2012 the original author or authors.
2+
* Copyright 2002-2014 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -37,7 +37,7 @@
3737
@Configuration
3838
public class AspectJTransactionManagementConfiguration extends AbstractTransactionManagementConfiguration {
3939

40-
@Bean(name=TransactionManagementConfigUtils.TRANSACTION_ASPECT_BEAN_NAME)
40+
@Bean(name = TransactionManagementConfigUtils.TRANSACTION_ASPECT_BEAN_NAME)
4141
@Role(BeanDefinition.ROLE_INFRASTRUCTURE)
4242
public AnnotationTransactionAspect transactionAspect() {
4343
AnnotationTransactionAspect txAspect = AnnotationTransactionAspect.aspectOf();
@@ -46,4 +46,5 @@ public AnnotationTransactionAspect transactionAspect() {
4646
}
4747
return txAspect;
4848
}
49+
4950
}

spring-context-support/src/main/java/org/springframework/cache/jcache/config/ProxyJCacheConfiguration.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
package org.springframework.cache.jcache.config;
1818

1919
import org.springframework.beans.factory.config.BeanDefinition;
20+
import org.springframework.cache.config.CacheManagementConfigUtils;
2021
import org.springframework.cache.jcache.interceptor.BeanFactoryJCacheOperationSourceAdvisor;
2122
import org.springframework.cache.jcache.interceptor.JCacheInterceptor;
22-
import org.springframework.context.annotation.AnnotationConfigUtils;
2323
import org.springframework.context.annotation.Bean;
2424
import org.springframework.context.annotation.Configuration;
2525
import org.springframework.context.annotation.Role;
@@ -38,7 +38,7 @@
3838
@Configuration
3939
public class ProxyJCacheConfiguration extends AbstractJCacheConfiguration {
4040

41-
@Bean(name = AnnotationConfigUtils.JCACHE_ADVISOR_BEAN_NAME)
41+
@Bean(name = CacheManagementConfigUtils.JCACHE_ADVISOR_BEAN_NAME)
4242
@Role(BeanDefinition.ROLE_INFRASTRUCTURE)
4343
public BeanFactoryJCacheOperationSourceAdvisor cacheAdvisor() {
4444
BeanFactoryJCacheOperationSourceAdvisor advisor =
@@ -49,7 +49,6 @@ public BeanFactoryJCacheOperationSourceAdvisor cacheAdvisor() {
4949
return advisor;
5050
}
5151

52-
5352
@Bean(name = "jCacheInterceptor")
5453
@Role(BeanDefinition.ROLE_INFRASTRUCTURE)
5554
public JCacheInterceptor cacheInterceptor() {

spring-context/src/main/java/org/springframework/cache/annotation/CachingConfigurationSelector.java

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121

2222
import org.springframework.context.annotation.AdviceMode;
2323
import org.springframework.context.annotation.AdviceModeImportSelector;
24-
import org.springframework.context.annotation.AnnotationConfigUtils;
2524
import org.springframework.context.annotation.AutoProxyRegistrar;
2625
import org.springframework.util.ClassUtils;
2726

@@ -36,19 +35,26 @@
3635
* @since 3.1
3736
* @see EnableCaching
3837
* @see ProxyCachingConfiguration
39-
* @see AnnotationConfigUtils#CACHE_ASPECT_CONFIGURATION_CLASS_NAME
40-
* @see AnnotationConfigUtils#JCACHE_ASPECT_CONFIGURATION_CLASS_NAME
4138
*/
4239
public class CachingConfigurationSelector extends AdviceModeImportSelector<EnableCaching> {
4340

4441
private static final String PROXY_JCACHE_CONFIGURATION_CLASS =
4542
"org.springframework.cache.jcache.config.ProxyJCacheConfiguration";
4643

44+
private static final String CACHE_ASPECT_CONFIGURATION_CLASS_NAME =
45+
"org.springframework.cache.aspectj.AspectJCachingConfiguration";
46+
47+
private static final String JCACHE_ASPECT_CONFIGURATION_CLASS_NAME =
48+
"org.springframework.cache.aspectj.AspectJJCacheConfiguration";
49+
50+
4751
private static final boolean jsr107Present = ClassUtils.isPresent(
4852
"javax.cache.Cache", CachingConfigurationSelector.class.getClassLoader());
53+
4954
private static final boolean jCacheImplPresent = ClassUtils.isPresent(
5055
PROXY_JCACHE_CONFIGURATION_CLASS, CachingConfigurationSelector.class.getClassLoader());
5156

57+
5258
/**
5359
* {@inheritDoc}
5460
* @return {@link ProxyCachingConfiguration} or {@code AspectJCacheConfiguration} for
@@ -74,7 +80,7 @@ private String[] getProxyImports() {
7480
List<String> result = new ArrayList<String>();
7581
result.add(AutoProxyRegistrar.class.getName());
7682
result.add(ProxyCachingConfiguration.class.getName());
77-
if (isJCacheAvailable()) {
83+
if (jsr107Present && jCacheImplPresent) {
7884
result.add(PROXY_JCACHE_CONFIGURATION_CLASS);
7985
}
8086
return result.toArray(new String[result.size()]);
@@ -86,19 +92,11 @@ private String[] getProxyImports() {
8692
*/
8793
private String[] getAspectJImports() {
8894
List<String> result = new ArrayList<String>();
89-
result.add(AnnotationConfigUtils.CACHE_ASPECT_CONFIGURATION_CLASS_NAME);
90-
if (isJCacheAvailable()) {
91-
result.add(AnnotationConfigUtils.JCACHE_ASPECT_CONFIGURATION_CLASS_NAME);
95+
result.add(CACHE_ASPECT_CONFIGURATION_CLASS_NAME);
96+
if (jsr107Present && jCacheImplPresent) {
97+
result.add(JCACHE_ASPECT_CONFIGURATION_CLASS_NAME);
9298
}
9399
return result.toArray(new String[result.size()]);
94100
}
95101

96-
/**
97-
* Specify if the JSR-107 API and Spring's jCache implementation are available
98-
* in the classpath.
99-
*/
100-
private boolean isJCacheAvailable() {
101-
return jsr107Present && jCacheImplPresent;
102-
}
103-
104102
}

spring-context/src/main/java/org/springframework/cache/annotation/ProxyCachingConfiguration.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@
1717
package org.springframework.cache.annotation;
1818

1919
import org.springframework.beans.factory.config.BeanDefinition;
20+
import org.springframework.cache.config.CacheManagementConfigUtils;
2021
import org.springframework.cache.interceptor.BeanFactoryCacheOperationSourceAdvisor;
2122
import org.springframework.cache.interceptor.CacheInterceptor;
2223
import org.springframework.cache.interceptor.CacheOperationSource;
23-
import org.springframework.context.annotation.AnnotationConfigUtils;
2424
import org.springframework.context.annotation.Bean;
2525
import org.springframework.context.annotation.Configuration;
2626
import org.springframework.context.annotation.Role;
@@ -37,11 +37,11 @@
3737
@Configuration
3838
public class ProxyCachingConfiguration extends AbstractCachingConfiguration<CachingConfigurer> {
3939

40-
@Bean(name=AnnotationConfigUtils.CACHE_ADVISOR_BEAN_NAME)
40+
@Bean(name = CacheManagementConfigUtils.CACHE_ADVISOR_BEAN_NAME)
4141
@Role(BeanDefinition.ROLE_INFRASTRUCTURE)
4242
public BeanFactoryCacheOperationSourceAdvisor cacheAdvisor() {
4343
BeanFactoryCacheOperationSourceAdvisor advisor =
44-
new BeanFactoryCacheOperationSourceAdvisor();
44+
new BeanFactoryCacheOperationSourceAdvisor();
4545
advisor.setCacheOperationSource(cacheOperationSource());
4646
advisor.setAdvice(cacheInterceptor());
4747
advisor.setOrder(this.enableCaching.<Integer>getNumber("order"));

spring-context/src/main/java/org/springframework/cache/config/AnnotationDrivenCacheBeanDefinitionParser.java

Lines changed: 32 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616

1717
package org.springframework.cache.config;
1818

19-
import static org.springframework.context.annotation.AnnotationConfigUtils.*;
20-
2119
import org.w3c.dom.Element;
2220

2321
import org.springframework.aop.config.AopNamespaceUtils;
@@ -28,7 +26,6 @@
2826
import org.springframework.beans.factory.support.RootBeanDefinition;
2927
import org.springframework.beans.factory.xml.BeanDefinitionParser;
3028
import org.springframework.beans.factory.xml.ParserContext;
31-
import org.springframework.cache.annotation.AnnotationCacheOperationSource;
3229
import org.springframework.cache.interceptor.BeanFactoryCacheOperationSourceAdvisor;
3330
import org.springframework.cache.interceptor.CacheInterceptor;
3431
import org.springframework.util.ClassUtils;
@@ -57,11 +54,20 @@
5754
*/
5855
class AnnotationDrivenCacheBeanDefinitionParser implements BeanDefinitionParser {
5956

57+
private static final String CACHE_ASPECT_CLASS_NAME =
58+
"org.springframework.cache.aspectj.AnnotationCacheAspect";
59+
60+
private static final String JCACHE_ASPECT_CLASS_NAME =
61+
"org.springframework.cache.aspectj.JCacheCacheAspect";
62+
63+
6064
private static final boolean jsr107Present = ClassUtils.isPresent(
6165
"javax.cache.Cache", AnnotationDrivenCacheBeanDefinitionParser.class.getClassLoader());
6266

6367
private static final boolean jCacheImplPresent = ClassUtils.isPresent(
64-
JCACHE_OPERATION_SOURCE_CLASS, AnnotationDrivenCacheBeanDefinitionParser.class.getClassLoader());
68+
"org.springframework.cache.jcache.interceptor.DefaultJCacheOperationSource",
69+
AnnotationDrivenCacheBeanDefinitionParser.class.getClassLoader());
70+
6571

6672
/**
6773
* Parses the '{@code <cache:annotation-driven>}' tag. Will
@@ -122,17 +128,18 @@ private static BeanDefinition parseErrorHandler(Element element, BeanDefinition
122128
return def;
123129
}
124130

131+
125132
/**
126133
* Configure the necessary infrastructure to support the Spring's caching annotations.
127134
*/
128135
private static class SpringCachingConfigurer {
129136

130137
private static void registerCacheAdvisor(Element element, ParserContext parserContext) {
131-
if (!parserContext.getRegistry().containsBeanDefinition(CACHE_ADVISOR_BEAN_NAME)) {
138+
if (!parserContext.getRegistry().containsBeanDefinition(CacheManagementConfigUtils.CACHE_ADVISOR_BEAN_NAME)) {
132139
Object eleSource = parserContext.extractSource(element);
133140

134141
// Create the CacheOperationSource definition.
135-
RootBeanDefinition sourceDef = new RootBeanDefinition(AnnotationCacheOperationSource.class);
142+
RootBeanDefinition sourceDef = new RootBeanDefinition("org.springframework.cache.annotation.AnnotationCacheOperationSource");
136143
sourceDef.setSource(eleSource);
137144
sourceDef.setRole(BeanDefinition.ROLE_INFRASTRUCTURE);
138145
String sourceName = parserContext.getReaderContext().registerWithGeneratedName(sourceDef);
@@ -156,13 +163,12 @@ private static void registerCacheAdvisor(Element element, ParserContext parserCo
156163
if (element.hasAttribute("order")) {
157164
advisorDef.getPropertyValues().add("order", element.getAttribute("order"));
158165
}
159-
parserContext.getRegistry().registerBeanDefinition(CACHE_ADVISOR_BEAN_NAME, advisorDef);
166+
parserContext.getRegistry().registerBeanDefinition(CacheManagementConfigUtils.CACHE_ADVISOR_BEAN_NAME, advisorDef);
160167

161-
CompositeComponentDefinition compositeDef = new CompositeComponentDefinition(element.getTagName(),
162-
eleSource);
168+
CompositeComponentDefinition compositeDef = new CompositeComponentDefinition(element.getTagName(), eleSource);
163169
compositeDef.addNestedComponent(new BeanComponentDefinition(sourceDef, sourceName));
164170
compositeDef.addNestedComponent(new BeanComponentDefinition(interceptorDef, interceptorName));
165-
compositeDef.addNestedComponent(new BeanComponentDefinition(advisorDef, CACHE_ADVISOR_BEAN_NAME));
171+
compositeDef.addNestedComponent(new BeanComponentDefinition(advisorDef, CacheManagementConfigUtils.CACHE_ADVISOR_BEAN_NAME));
166172
parserContext.registerComponent(compositeDef);
167173
}
168174
}
@@ -177,60 +183,62 @@ private static void registerCacheAdvisor(Element element, ParserContext parserCo
177183
* </pre>
178184
*/
179185
private static void registerCacheAspect(Element element, ParserContext parserContext) {
180-
if (!parserContext.getRegistry().containsBeanDefinition(CACHE_ASPECT_BEAN_NAME)) {
186+
if (!parserContext.getRegistry().containsBeanDefinition(CacheManagementConfigUtils.CACHE_ASPECT_BEAN_NAME)) {
181187
RootBeanDefinition def = new RootBeanDefinition();
182188
def.setBeanClassName(CACHE_ASPECT_CLASS_NAME);
183189
def.setFactoryMethodName("aspectOf");
184190
parseCacheResolution(element, def, false);
185191
CacheNamespaceHandler.parseKeyGenerator(element, def);
186-
parserContext.registerBeanComponent(new BeanComponentDefinition(def, CACHE_ASPECT_BEAN_NAME));
192+
parserContext.registerBeanComponent(new BeanComponentDefinition(def, CacheManagementConfigUtils.CACHE_ASPECT_BEAN_NAME));
187193
}
188194
}
189195
}
190196

197+
191198
/**
192199
* Configure the necessary infrastructure to support the standard JSR-107 caching annotations.
193200
*/
194201
private static class JCacheCachingConfigurer {
195202

196203
private static void registerCacheAdvisor(Element element, ParserContext parserContext) {
197-
if (!parserContext.getRegistry().containsBeanDefinition(JCACHE_ADVISOR_BEAN_NAME)) {
204+
if (!parserContext.getRegistry().containsBeanDefinition(CacheManagementConfigUtils.JCACHE_ADVISOR_BEAN_NAME)) {
198205
Object eleSource = parserContext.extractSource(element);
199206

200207
// Create the CacheOperationSource definition.
201208
BeanDefinition sourceDef = createJCacheOperationSourceBeanDefinition(element, eleSource);
202209
String sourceName = parserContext.getReaderContext().registerWithGeneratedName(sourceDef);
203210

204211
// Create the CacheInterceptor definition.
205-
RootBeanDefinition interceptorDef = new RootBeanDefinition(JCACHE_INTERCEPTOR_CLASS);
212+
RootBeanDefinition interceptorDef =
213+
new RootBeanDefinition("org.springframework.cache.jcache.interceptor.JCacheInterceptor");
206214
interceptorDef.setSource(eleSource);
207215
interceptorDef.setRole(BeanDefinition.ROLE_INFRASTRUCTURE);
208216
interceptorDef.getPropertyValues().add("cacheOperationSource", new RuntimeBeanReference(sourceName));
209217
parseErrorHandler(element, interceptorDef);
210218
String interceptorName = parserContext.getReaderContext().registerWithGeneratedName(interceptorDef);
211219

212220
// Create the CacheAdvisor definition.
213-
RootBeanDefinition advisorDef = new RootBeanDefinition(JCACHE_ADVISOR_FACTORY_CLASS);
221+
RootBeanDefinition advisorDef = new RootBeanDefinition(
222+
"org.springframework.cache.jcache.interceptor.BeanFactoryJCacheOperationSourceAdvisor");
214223
advisorDef.setSource(eleSource);
215224
advisorDef.setRole(BeanDefinition.ROLE_INFRASTRUCTURE);
216225
advisorDef.getPropertyValues().add("cacheOperationSource", new RuntimeBeanReference(sourceName));
217226
advisorDef.getPropertyValues().add("adviceBeanName", interceptorName);
218227
if (element.hasAttribute("order")) {
219228
advisorDef.getPropertyValues().add("order", element.getAttribute("order"));
220229
}
221-
parserContext.getRegistry().registerBeanDefinition(JCACHE_ADVISOR_BEAN_NAME, advisorDef);
230+
parserContext.getRegistry().registerBeanDefinition(CacheManagementConfigUtils.JCACHE_ADVISOR_BEAN_NAME, advisorDef);
222231

223-
CompositeComponentDefinition compositeDef = new CompositeComponentDefinition(element.getTagName(),
224-
eleSource);
232+
CompositeComponentDefinition compositeDef = new CompositeComponentDefinition(element.getTagName(), eleSource);
225233
compositeDef.addNestedComponent(new BeanComponentDefinition(sourceDef, sourceName));
226234
compositeDef.addNestedComponent(new BeanComponentDefinition(interceptorDef, interceptorName));
227-
compositeDef.addNestedComponent(new BeanComponentDefinition(advisorDef, JCACHE_ADVISOR_BEAN_NAME));
235+
compositeDef.addNestedComponent(new BeanComponentDefinition(advisorDef, CacheManagementConfigUtils.JCACHE_ADVISOR_BEAN_NAME));
228236
parserContext.registerComponent(compositeDef);
229237
}
230238
}
231239

232240
private static void registerCacheAspect(Element element, ParserContext parserContext) {
233-
if (!parserContext.getRegistry().containsBeanDefinition(JCACHE_ASPECT_BEAN_NAME)) {
241+
if (!parserContext.getRegistry().containsBeanDefinition(CacheManagementConfigUtils.JCACHE_ASPECT_BEAN_NAME)) {
234242
Object eleSource = parserContext.extractSource(element);
235243
RootBeanDefinition def = new RootBeanDefinition();
236244
def.setBeanClassName(JCACHE_ASPECT_CLASS_NAME);
@@ -241,13 +249,13 @@ private static void registerCacheAspect(Element element, ParserContext parserCon
241249
def.getPropertyValues().add("cacheOperationSource", new RuntimeBeanReference(sourceName));
242250

243251
parserContext.registerBeanComponent(new BeanComponentDefinition(sourceDef, sourceName));
244-
parserContext.registerBeanComponent(new BeanComponentDefinition(def, JCACHE_ASPECT_BEAN_NAME));
252+
parserContext.registerBeanComponent(new BeanComponentDefinition(def, CacheManagementConfigUtils.JCACHE_ASPECT_BEAN_NAME));
245253
}
246254
}
247255

248-
private static RootBeanDefinition createJCacheOperationSourceBeanDefinition(
249-
Element element, Object eleSource) {
250-
RootBeanDefinition sourceDef = new RootBeanDefinition(JCACHE_OPERATION_SOURCE_CLASS);
256+
private static RootBeanDefinition createJCacheOperationSourceBeanDefinition(Element element, Object eleSource) {
257+
RootBeanDefinition sourceDef =
258+
new RootBeanDefinition("org.springframework.cache.jcache.interceptor.DefaultJCacheOperationSource");
251259
sourceDef.setSource(eleSource);
252260
sourceDef.setRole(BeanDefinition.ROLE_INFRASTRUCTURE);
253261
// JSR-107 support should create an exception cache resolver with the cache manager

0 commit comments

Comments
 (0)