javax.cache.annotation.CacheResolverpublic class DefaultCacheResolver extends Object implements javax.cache.annotation.CacheResolver
| Constructor | Description |
|---|---|
DefaultCacheResolver(javax.cache.Cache<?,?> cache) |
Create a new default cache resolver that always returns the specified cache
|
| Modifier and Type | Method | 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 © 2017. All rights reserved.