@Interceptor public class CacheResultInterceptor extends AbstractCacheResultInterceptor<javax.interceptor.InvocationContext>
CacheResult| Constructor and Description |
|---|
CacheResultInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
Object |
cacheResult(javax.interceptor.InvocationContext invocationContext) |
protected Object |
proceed(javax.interceptor.InvocationContext invocation) |
cacheException, cacheResult, checkForCachedException, getExceptionCachegetStaticCacheKeyInvocationContextpublic Object cacheResult(javax.interceptor.InvocationContext invocationContext) throws Exception
invocationContext - The intercepted invocationInvocationContext.proceed()Exception - likely InvocationContext.proceed() threw an exceptionprotected Object proceed(javax.interceptor.InvocationContext invocation) throws Exception
proceed in class AbstractCacheInterceptor<javax.interceptor.InvocationContext>ExceptionCopyright © 2019. All rights reserved.