|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.cache.interceptor.CacheAspectSupport
org.springframework.cache.interceptor.CacheInterceptor
public class CacheInterceptor
AOP Alliance MethodInterceptor for declarative cache
management using the common Spring caching infrastructure
(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.
Nested Class Summary | |
---|---|
private static class |
CacheInterceptor.ThrowableWrapper
|
Nested classes/interfaces inherited from class org.springframework.cache.interceptor.CacheAspectSupport |
---|
CacheAspectSupport.CacheOperationContext, CacheAspectSupport.Invoker |
Field Summary |
---|
Fields inherited from class org.springframework.cache.interceptor.CacheAspectSupport |
---|
logger |
Constructor Summary | |
---|---|
CacheInterceptor()
|
Method Summary | |
---|---|
java.lang.Object |
invoke(MethodInvocation invocation)
|
Methods inherited from class org.springframework.cache.interceptor.CacheAspectSupport |
---|
afterPropertiesSet, execute, getCacheManager, getCacheOperationSource, getCaches, getKeyGenerator, getOperationContext, methodIdentification, setCacheManager, setCacheOperationSources, setKeyGenerator |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CacheInterceptor()
Method Detail |
---|
public java.lang.Object invoke(MethodInvocation invocation) throws java.lang.Throwable
java.lang.Throwable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |