javax.cache.interceptor
Interface CacheResolver

All Known Implementing Classes:
DefaultCacheResolver

public interface CacheResolver

Determines the Cache to use for a specified cache name and annotated method. Implementations MUST be thread-safe

Since:
1.7
Author:
Eric Dalquist

Method Summary
<K,V> Cache<K,V>
resolveCacheManger(String cacheName, Method method)
           
 

Method Detail

resolveCacheManger

<K,V> Cache<K,V> resolveCacheManger(String cacheName,
                                    Method method)
Parameters:
cacheName - The name of the cache specified in the CacheResult, CacheRemoveEntry, or CacheRemoveAll annotation
method - The annotated method
Returns:
The Cache instance to be used by the intercepter


true