Deprecate CachingConfigurerSupport and AsyncConfigurerSupport

Closes gh-27813
This commit is contained in:
Stephane Nicoll 2021-12-15 11:51:21 +01:00
parent b6faaf1fc1
commit 2f3a9dbc68
3 changed files with 9 additions and 3 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright 2002-2018 the original author or authors.
* Copyright 2002-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -31,7 +31,9 @@ import org.springframework.lang.Nullable;
* @since 4.1
* @see JCacheConfigurer
* @see CachingConfigurerSupport
* @deprecated as of 6.0 in favor of implementing {@link JCacheConfigurer} directly
*/
@Deprecated
public class JCacheConfigurerSupport extends CachingConfigurerSupport implements JCacheConfigurer {
@Override

View File

@ -1,5 +1,5 @@
/*
* Copyright 2002-2018 the original author or authors.
* Copyright 2002-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -29,7 +29,9 @@ import org.springframework.lang.Nullable;
* @author Stephane Nicoll
* @since 4.1
* @see CachingConfigurer
* @deprecated as of 6.0 in favor of implementing {@link CachingConfigurer} directly
*/
@Deprecated
public class CachingConfigurerSupport implements CachingConfigurer {
@Override

View File

@ -1,5 +1,5 @@
/*
* Copyright 2002-2014 the original author or authors.
* Copyright 2002-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -28,7 +28,9 @@ import org.springframework.lang.Nullable;
*
* @author Stephane Nicoll
* @since 4.1
* @deprecated as of 6.0 in favor of implementing {@link AsyncConfigurer} directly
*/
@Deprecated
public class AsyncConfigurerSupport implements AsyncConfigurer {
@Override