org.springframework.cache.interceptor
Class CacheAspectSupport.CacheOperationContext

java.lang.Object
  extended by org.springframework.cache.interceptor.CacheAspectSupport.CacheOperationContext
Enclosing class:
CacheAspectSupport

protected class CacheAspectSupport.CacheOperationContext
extends Object


Constructor Summary
CacheAspectSupport.CacheOperationContext(CacheOperation operation, Method method, Object[] args, Object target, Class<?> targetClass)
           
 
Method Summary
protected  Object generateKey()
          Computes the key for the given caching operation.
protected  Collection<Cache> getCaches()
           
protected  boolean isConditionPassing()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheAspectSupport.CacheOperationContext

public CacheAspectSupport.CacheOperationContext(CacheOperation operation,
                                                Method method,
                                                Object[] args,
                                                Object target,
                                                Class<?> targetClass)
Method Detail

isConditionPassing

protected boolean isConditionPassing()

generateKey

protected Object generateKey()
Computes the key for the given caching operation.

Returns:
generated key (null if none can be generated)

getCaches

protected Collection<Cache> getCaches()