public class JCacheInterceptor extends JCacheAspectSupport implements MethodInterceptor, java.io.Serializable
Derives from the JCacheAspectSupport class which
contains the integration with Spring's underlying caching API.
JCacheInterceptor simply calls the relevant superclass method.
JCacheInterceptors are thread-safe.
CacheInterceptor,
Serialized Formlogger| Constructor and Description |
|---|
JCacheInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
invoke(MethodInvocation invocation)
Implement this method to perform extra treatments before and
after the invocation.
|
afterPropertiesSet, execute, getCacheOperationSource, invokeOperation, setCacheOperationSourcedoClear, doEvict, doGet, doPut, getErrorHandler, setErrorHandler@Nullable public java.lang.Object invoke(MethodInvocation invocation) throws java.lang.Throwable
MethodInterceptorJoinpoint.proceed().invoke in interface MethodInterceptorinvocation - the method invocation joinpointJoinpoint.proceed();
might be intercepted by the interceptorjava.lang.Throwable - if the interceptors or the target object
throws an exception