|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CacheResolverFactory
Determines the CacheResolver to use for an annotated method. The CacheResolver will be retrieved
once per annotated method.
| Method Summary | |
|---|---|
CacheResolver |
getCacheResolver(CacheMethodDetails<? extends Annotation> cacheMethodDetails)
Get the CacheResolver used at runtime for resolution of the Cache for the
CacheResult, CachePut, CacheRemoveEntry, or CacheRemoveAll
annotation. |
CacheResolver |
getExceptionCacheResolver(CacheMethodDetails<CacheResult> cacheMethodDetails)
Get the CacheResolver used at runtime for resolution of the Cache for the
CacheResult annotation to cache exceptions. |
| Method Detail |
|---|
CacheResolver getCacheResolver(CacheMethodDetails<? extends Annotation> cacheMethodDetails)
CacheResolver used at runtime for resolution of the Cache for the
CacheResult, CachePut, CacheRemoveEntry, or CacheRemoveAll
annotation.
cacheMethodDetails - The details of the annotated method to get the CacheResolver for.
CacheResolver instance to be used by the intercepter.CacheResolver getExceptionCacheResolver(CacheMethodDetails<CacheResult> cacheMethodDetails)
CacheResolver used at runtime for resolution of the Cache for the
CacheResult annotation to cache exceptions.
Will only be called if CacheResult.exceptionCacheName() is not empty.
cacheMethodDetails - The details of the annotated method to get the CacheResolver for.
CacheResolver instance to be used by the intercepter.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||