Example usage for org.springframework.cache.interceptor SimpleCacheResolver setCacheManager

List of usage examples for org.springframework.cache.interceptor SimpleCacheResolver setCacheManager

Introduction

In this page you can find the example usage for org.springframework.cache.interceptor SimpleCacheResolver setCacheManager.

Prototype

public void setCacheManager(CacheManager cacheManager) 

Source Link

Document

Set the CacheManager that this instance should use.

Usage

From source file:com.hp.autonomy.hod.caching.CachingConfiguration.java

@Bean(name = SIMPLE_CACHE_RESOLVER_NAME)
public CacheResolver simpleCacheResolver() {
    final SimpleCacheResolver resolver = new SimpleCacheResolver();
    resolver.setCacheManager(cacheManager);
    return resolver;
}