CachingConfigurerSupport that also implements
JCacheConfigurer.
Users of JSR-107 annotations may extend from this class rather than
implementing from JCacheConfigurer directly.
JCacheConfigurer, CachingConfigurerSupport
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public CacheResolver | exceptionCacheResolver()
Overrides default org. Return the |
| JCacheConfigurerSupport | back to summary |
|---|---|
| public JCacheConfigurerSupport() | |
| exceptionCacheResolver | back to summary |
|---|---|
| public CacheResolver exceptionCacheResolver() Overrides default org. Doc from org. 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.
| |