CachingConfigurer for the JSR-107 implementation.
To be implemented by classes annotated with
org. that wish
or need to specify explicitly how exception caches are resolved for
annotation-driven cache management.
See org. for
general examples and context; see exceptionCacheResolver() for
detailed instructions.
CachingConfigurer, org.springframework.cache.annotation.EnableCaching
| Modifier and Type | Method and Description |
|---|---|
| public default CacheResolver | exceptionCacheResolver()
Return the |
| exceptionCacheResolver | back to summary |
|---|---|
| public default CacheResolver exceptionCacheResolver() Return the
@Configuration
@EnableCaching
public class AppConfig implements JCacheConfigurer {
@Bean // important!
@Override
public CacheResolver exceptionCacheResolver() {
// configure and return CacheResolver instance
}
// ...
}
See org. for more complete examples.
| |