Remove references to JCacheConfigurerSupport and CachingConfigurerSupport
See gh-27863
This commit is contained in:
@@ -50,7 +50,7 @@ public interface CachingConfigurer {
|
||||
* <pre class="code">
|
||||
* @Configuration
|
||||
* @EnableCaching
|
||||
* public class AppConfig extends CachingConfigurerSupport {
|
||||
* public class AppConfig implements CachingConfigurer {
|
||||
* @Bean // important!
|
||||
* @Override
|
||||
* public CacheManager cacheManager() {
|
||||
@@ -77,7 +77,7 @@ public interface CachingConfigurer {
|
||||
* <pre class="code">
|
||||
* @Configuration
|
||||
* @EnableCaching
|
||||
* public class AppConfig extends CachingConfigurerSupport {
|
||||
* public class AppConfig implements CachingConfigurer {
|
||||
* @Bean // important!
|
||||
* @Override
|
||||
* public CacheResolver cacheResolver() {
|
||||
@@ -100,7 +100,7 @@ public interface CachingConfigurer {
|
||||
* <pre class="code">
|
||||
* @Configuration
|
||||
* @EnableCaching
|
||||
* public class AppConfig extends CachingConfigurerSupport {
|
||||
* public class AppConfig implements CachingConfigurer {
|
||||
* @Bean // important!
|
||||
* @Override
|
||||
* public KeyGenerator keyGenerator() {
|
||||
@@ -125,7 +125,7 @@ public interface CachingConfigurer {
|
||||
* <pre class="code">
|
||||
* @Configuration
|
||||
* @EnableCaching
|
||||
* public class AppConfig extends CachingConfigurerSupport {
|
||||
* public class AppConfig implements CachingConfigurer {
|
||||
* @Bean // important!
|
||||
* @Override
|
||||
* public CacheErrorHandler errorHandler() {
|
||||
|
||||
@@ -103,7 +103,7 @@ import org.springframework.core.Ordered;
|
||||
* <pre class="code">
|
||||
* @Configuration
|
||||
* @EnableCaching
|
||||
* public class AppConfig extends CachingConfigurerSupport {
|
||||
* public class AppConfig implements CachingConfigurer {
|
||||
*
|
||||
* @Bean
|
||||
* public MyService myService() {
|
||||
|
||||
Reference in New Issue
Block a user