javax.cache.annotation
Interface CacheResolverFactory


public interface CacheResolverFactory

Determines the CacheResolver to use for an annotated method. Implementations MUST be thread-safe.

Since:
1.0
Author:
Eric Dalquist

Method Summary
 CacheResolver getCacheResolver(CacheMethodDetails<? extends Annotation> cacheMethodDetails)
          Get the CacheResolver used for runtime resolution of the Cache used by the CacheResult, CachePut, CacheRemoveEntry, or CacheRemoveAll interceptors.
 

Method Detail

getCacheResolver

CacheResolver getCacheResolver(CacheMethodDetails<? extends Annotation> cacheMethodDetails)
Get the CacheResolver used for runtime resolution of the Cache used by the CacheResult, CachePut, CacheRemoveEntry, or CacheRemoveAll interceptors.

Parameters:
cacheMethodDetails - The details of the annotated method to get the CacheResolver for.
Returns:
The CacheResolver instance to be used by the intercepter.


Copyright © 2011. All Rights Reserved.