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

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

Introduction

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

Prototype

protected CacheRemoveAllInterceptor(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;
}