Browse Source

Deprecate CachingConfigurerSupport and AsyncConfigurerSupport

Closes gh-27813
pull/27822/head
Stephane Nicoll 4 years ago
parent
commit
2f3a9dbc68
  1. 4
      spring-context-support/src/main/java/org/springframework/cache/jcache/config/JCacheConfigurerSupport.java
  2. 4
      spring-context/src/main/java/org/springframework/cache/annotation/CachingConfigurerSupport.java
  3. 4
      spring-context/src/main/java/org/springframework/scheduling/annotation/AsyncConfigurerSupport.java

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

@ -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"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with 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 * @since 4.1
* @see JCacheConfigurer * @see JCacheConfigurer
* @see CachingConfigurerSupport * @see CachingConfigurerSupport
* @deprecated as of 6.0 in favor of implementing {@link JCacheConfigurer} directly
*/ */
@Deprecated
public class JCacheConfigurerSupport extends CachingConfigurerSupport implements JCacheConfigurer { public class JCacheConfigurerSupport extends CachingConfigurerSupport implements JCacheConfigurer {
@Override @Override

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

@ -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"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with 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 * @author Stephane Nicoll
* @since 4.1 * @since 4.1
* @see CachingConfigurer * @see CachingConfigurer
* @deprecated as of 6.0 in favor of implementing {@link CachingConfigurer} directly
*/ */
@Deprecated
public class CachingConfigurerSupport implements CachingConfigurer { public class CachingConfigurerSupport implements CachingConfigurer {
@Override @Override

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

@ -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"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with 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 * @author Stephane Nicoll
* @since 4.1 * @since 4.1
* @deprecated as of 6.0 in favor of implementing {@link AsyncConfigurer} directly
*/ */
@Deprecated
public class AsyncConfigurerSupport implements AsyncConfigurer { public class AsyncConfigurerSupport implements AsyncConfigurer {
@Override @Override

Loading…
Cancel
Save