org.springframework.cache.interceptor
Class CacheAspectSupport.CacheOperationContext
java.lang.Object
org.springframework.cache.interceptor.CacheAspectSupport.CacheOperationContext
- Enclosing class:
- CacheAspectSupport
protected class CacheAspectSupport.CacheOperationContext
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
operation
private final CacheOperation operation
caches
private final java.util.Collection<Cache> caches
target
private final java.lang.Object target
method
private final java.lang.reflect.Method method
args
private final java.lang.Object[] args
evalContext
private final EvaluationContext evalContext
CacheAspectSupport.CacheOperationContext
public CacheAspectSupport.CacheOperationContext(CacheOperation operation,
java.lang.reflect.Method method,
java.lang.Object[] args,
java.lang.Object target,
java.lang.Class<?> targetClass)
isConditionPassing
protected boolean isConditionPassing()
generateKey
protected java.lang.Object generateKey()
- Computes the key for the given caching operation.
- Returns:
- generated key (null if none can be generated)
getCaches
protected java.util.Collection<Cache> getCaches()