javax.cache.interceptor
Interface CacheResolver
public interface CacheResolver
Determines the Cache
to use for an intercepted method invocation. Implementations MUST be
thread-safe.
- Since:
- 1.0
- Author:
- Eric Dalquist
- See Also:
CacheResolverFactory
resolveCache
<K,V> Cache<K,V> resolveCache(CacheInvocationContext<Annotation> cacheInvocationContext)
- Resolve the
Cache
to use for this CacheInvocationContext
.
- Parameters:
cacheInvocationContext
- The context data for the intercepted method invocation
- Returns:
- The
Cache
instance to be used by the intercepter
Copyright © 2011. All Rights Reserved.