Skip to content

Commit 2f3a9db

Browse files
committed
Deprecate CachingConfigurerSupport and AsyncConfigurerSupport
Closes gh-27813
1 parent b6faaf1 commit 2f3a9db

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2018 the original author or authors.
2+
* Copyright 2002-2021 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.
@@ -31,7 +31,9 @@
3131
* @since 4.1
3232
* @see JCacheConfigurer
3333
* @see CachingConfigurerSupport
34+
* @deprecated as of 6.0 in favor of implementing {@link JCacheConfigurer} directly
3435
*/
36+
@Deprecated
3537
public class JCacheConfigurerSupport extends CachingConfigurerSupport implements JCacheConfigurer {
3638

3739
@Override

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2018 the original author or authors.
2+
* Copyright 2002-2021 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.
@@ -29,7 +29,9 @@
2929
* @author Stephane Nicoll
3030
* @since 4.1
3131
* @see CachingConfigurer
32+
* @deprecated as of 6.0 in favor of implementing {@link CachingConfigurer} directly
3233
*/
34+
@Deprecated
3335
public class CachingConfigurerSupport implements CachingConfigurer {
3436

3537
@Override

spring-context/src/main/java/org/springframework/scheduling/annotation/AsyncConfigurerSupport.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2014 the original author or authors.
2+
* Copyright 2002-2021 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.
@@ -28,7 +28,9 @@
2828
*
2929
* @author Stephane Nicoll
3030
* @since 4.1
31+
* @deprecated as of 6.0 in favor of implementing {@link AsyncConfigurer} directly
3132
*/
33+
@Deprecated
3234
public class AsyncConfigurerSupport implements AsyncConfigurer {
3335

3436
@Override

0 commit comments

Comments
 (0)