public class CacheResultInterceptor extends AbstractCacheResultInterceptor<org.aopalliance.intercept.MethodInvocation> implements CacheMethodInterceptor
| Constructor and Description |
|---|
CacheResultInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
InterceptorType |
getInterceptorType() |
Object |
invoke(org.aopalliance.intercept.MethodInvocation invocation) |
protected Object |
proceed(org.aopalliance.intercept.MethodInvocation invocation) |
void |
setCacheContextSource(CacheContextSource<org.aopalliance.intercept.MethodInvocation> cacheContextSource) |
cacheException, cacheResult, checkForCachedException, getExceptionCachegetStaticCacheKeyInvocationContext@Inject public void setCacheContextSource(CacheContextSource<org.aopalliance.intercept.MethodInvocation> cacheContextSource)
cacheContextSource - the CacheContextSource to usepublic InterceptorType getInterceptorType()
getInterceptorType in interface CacheMethodInterceptorpublic Object invoke(org.aopalliance.intercept.MethodInvocation invocation) throws Throwable
invoke in interface org.aopalliance.intercept.MethodInterceptorThrowableprotected Object proceed(org.aopalliance.intercept.MethodInvocation invocation) throws Throwable
proceed in class AbstractCacheInterceptor<org.aopalliance.intercept.MethodInvocation>ThrowableCopyright © 2014. All Rights Reserved.