@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.
Constructor and Description |
---|
CacheResultInterceptor(DefaultCacheResolver cacheResolver,
CacheKeyInvocationContextFactory contextFactory) |
@Inject public CacheResultInterceptor(DefaultCacheResolver cacheResolver, CacheKeyInvocationContextFactory contextFactory)
public Object cacheResult(InvocationContext invocationContext) throws Exception
cacheResult
in class AbstractCacheResultInterceptor
Exception
protected Log getLog()
getLog
in class AbstractCacheResultInterceptor
Copyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.