org.infinispan.cdi.interceptor
Interface CacheResolver
- All Known Implementing Classes:
- DefaultCacheResolver
public interface CacheResolver
This is the cache resolver contract used by interceptors to resolve a Cache
.
- Author:
- Kevin Pollet (C) 2011 SERLI
Method Summary |
|
resolveCache(javax.cache.annotation.CacheInvocationContext<? extends Annotation> cacheInvocationContext)
Resolve the Cache to use for this CacheInvocationContext . |
resolveCache
<K,V> Cache<K,V> resolveCache(javax.cache.annotation.CacheInvocationContext<? extends Annotation> cacheInvocationContext)
- Resolve the
Cache
to use for this CacheInvocationContext
.
- Type Parameters:
K
- the cache key type.V
- the cache value type.- Parameters:
cacheInvocationContext
- the cache invocation context.
- Returns:
- the resolved cache.
Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.