@Interceptor public class CacheResultInterceptor extends AbstractCacheResultInterceptor
CacheResult
interceptor implementation. This interceptor uses the following algorithm describes in
JSR-107.
When a method annotated with CacheResult
is invoked the following must occur.
trace
Constructor and Description |
---|
CacheResultInterceptor(DefaultCacheResolver cacheResolver,
CacheKeyInvocationContextFactory contextFactory) |
Modifier and Type | Method and Description |
---|---|
Object |
cacheResult(javax.interceptor.InvocationContext invocationContext) |
protected Log |
getLog() |
@Inject public CacheResultInterceptor(DefaultCacheResolver cacheResolver, CacheKeyInvocationContextFactory contextFactory)
public Object cacheResult(javax.interceptor.InvocationContext invocationContext) throws Exception
cacheResult
in class AbstractCacheResultInterceptor
Exception
protected Log getLog()
getLog
in class AbstractCacheResultInterceptor
Copyright © 2020 JBoss, a division of Red Hat. All rights reserved.