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