Example usage for org.springframework.cache.interceptor AbstractCacheResolver subclass-usage

List of usage examples for org.springframework.cache.interceptor AbstractCacheResolver subclass-usage

Introduction

In this page you can find the example usage for org.springframework.cache.interceptor AbstractCacheResolver subclass-usage.

Usage

From source file com.hp.autonomy.hod.caching.AbstractHodCacheResolver.java

/**
 * CacheResolver that prefixes cache names with the HP Haven OnDemand domain and the HP Haven OnDemand application in
 * the current security context. This allows caching to be used across multiple domains without interference.
 * <p>
 * The domain and application will be joined with colons, so cache name must not contain the ":" character if
 * {@link HodCacheNameResolver#getOriginalName(String)} is to be used

From source file example.caching.RuntimeCacheResolver.java

/**
 * A sample {@link org.springframework.cache.interceptor.CacheResolver} that demonstrates the runtime resolution of the
 * cache(s) to use. This is a rather simple case that assumes the second parameter of the method invocation is the name
 * of the cache to use
 *
 * @author Stephane Nicoll