Package | Description |
---|---|
javax.cache.annotation |
The annotations in this package provide method interceptors for user supplied classes.
|
Modifier and Type | Interface and Description |
---|---|
interface |
CacheInvocationContext<A extends Annotation>
Runtime information about an intercepted method invocation for a method annotated
with
CacheResult , CachePut , CacheRemoveEntry , or CacheRemoveAll
Used with CacheResolver.resolveCache(CacheInvocationContext) to determine the Cache to use
at runtime for the method invocation. |
interface |
CacheKeyInvocationContext<A extends Annotation>
Runtime information about an intercepted method invocation for a method annotated
with
CacheResult , CachePut , or CacheRemoveEntry . |
Modifier and Type | Method and Description |
---|---|
CacheResolver |
CacheResolverFactory.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 |
CacheResolverFactory.getExceptionCacheResolver(CacheMethodDetails<CacheResult> cacheMethodDetails)
Get the
CacheResolver used at runtime for resolution of the Cache for the
CacheResult annotation to cache exceptions. |
Copyright © 2013. All Rights Reserved.