Package | Description |
---|---|
javax.cache.annotation |
The annotations in this package provide method interceptors for user supplied
classes.
|
Modifier and Type | Interface | Description |
---|---|---|
interface |
CacheInvocationContext<A extends Annotation> |
Runtime information about an intercepted method invocation for a method
annotated with
CacheResult , CachePut , CacheRemove ,
or CacheRemoveAll |
interface |
CacheKeyInvocationContext<A extends Annotation> |
Runtime information about an intercepted method invocation for a method
annotated with
CacheResult , CachePut , or
CacheRemove . |
Modifier and Type | Method | Description |
---|---|---|
CacheResolver |
CacheResolverFactory.getCacheResolver(CacheMethodDetails<? extends Annotation> cacheMethodDetails) |
Get the
CacheResolver used at runtime for resolution of the
Cache for the CacheResult , CachePut ,
CacheRemove , 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 © 2017. All rights reserved.