public class DefaultCacheResolver extends Object implements CacheResolver
| Constructor and Description |
|---|
DefaultCacheResolver(Cache<?,?> cache)
Create a new default cache resolver that always returns the specified cache
|
public DefaultCacheResolver(Cache<?,?> cache)
cache - The cache to return for all calls to resolveCache(CacheInvocationContext)public <K,V> Cache<K,V> resolveCache(CacheInvocationContext<? extends Annotation> cacheInvocationContext)
resolveCache in interface CacheResolverCopyright © 2014. All Rights Reserved.