abstract class AbstractKeyCacheInterceptor<O extends AbstractJCacheKeyOperation<A>,A extends java.lang.annotation.Annotation> extends AbstractCacheInterceptor<O,A>
logger
Modifier | Constructor and Description |
---|---|
protected |
AbstractKeyCacheInterceptor(CacheErrorHandler errorHandler) |
Modifier and Type | Method and Description |
---|---|
protected <any> |
createCacheKeyInvocationContext(CacheOperationInvocationContext<O> context)
Create a
CacheKeyInvocationContext based on the specified invocation. |
protected java.lang.Object |
generateKey(CacheOperationInvocationContext<O> context)
Generate a key for the specified invocation.
|
extractFrom, invoke, resolveCache
doClear, doEvict, doGet, doPut, getErrorHandler, setErrorHandler
protected AbstractKeyCacheInterceptor(CacheErrorHandler errorHandler)
protected java.lang.Object generateKey(CacheOperationInvocationContext<O> context)
context
- the context of the invocationprotected <any> createCacheKeyInvocationContext(CacheOperationInvocationContext<O> context)
CacheKeyInvocationContext
based on the specified invocation.context
- the context of the invocation.CacheKeyInvocationContext