public class CacheInterceptor extends CacheAspectSupport implements MethodInterceptor, java.io.Serializable
Cache
).
Derives from the CacheAspectSupport
class which
contains the integration with Spring's underlying caching API.
CacheInterceptor simply calls the relevant superclass methods
in the correct order.
CacheInterceptors are thread-safe.
CacheAspectSupport.CacheOperationContext, CacheAspectSupport.Invoker
logger
Constructor and Description |
---|
CacheInterceptor() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
invoke(MethodInvocation invocation) |
afterPropertiesSet, execute, getCacheManager, getCacheOperationSource, getCaches, getKeyGenerator, getOperationContext, methodIdentification, setCacheManager, setCacheOperationSources, setKeyGenerator
public java.lang.Object invoke(MethodInvocation invocation) throws java.lang.Throwable
invoke
in interface MethodInterceptor
java.lang.Throwable