Example usage for org.springframework.cache.jcache.interceptor CacheRemoveEntryInterceptor CacheRemoveEntryInterceptor

List of usage examples for org.springframework.cache.jcache.interceptor CacheRemoveEntryInterceptor CacheRemoveEntryInterceptor

Introduction

In this page you can find the example usage for org.springframework.cache.jcache.interceptor CacheRemoveEntryInterceptor CacheRemoveEntryInterceptor.

Prototype

protected CacheRemoveEntryInterceptor(CacheErrorHandler errorHandler) 

Source Link

Usage

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;
}