List of usage examples for org.springframework.cache.jcache.interceptor CacheResultInterceptor CacheResultInterceptor
public CacheResultInterceptor(CacheErrorHandler errorHandler)
From source file:org.springframework.cache.jcache.interceptor.JCacheAspectSupport.java
public void afterPropertiesSet() { Assert.state(getCacheOperationSource() != null, "The 'cacheOperationSource' property is required: " + "If there are no cacheable methods, then don't use a cache aspect."); this.cacheResultInterceptor = new CacheResultInterceptor(getErrorHandler()); this.cachePutInterceptor = new CachePutInterceptor(getErrorHandler()); this.cacheRemoveEntryInterceptor = new CacheRemoveEntryInterceptor(getErrorHandler()); this.cacheRemoveAllInterceptor = new CacheRemoveAllInterceptor(getErrorHandler()); this.initialized = true; }