public abstract class AbstractCacheResultInterceptor extends Object implements Serializable
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.
Modifier and Type | Field and Description |
---|---|
protected boolean |
trace |
Constructor and Description |
---|
AbstractCacheResultInterceptor(javax.cache.annotation.CacheResolver cacheResolver,
CacheKeyInvocationContextFactory contextFactory) |
Modifier and Type | Method and Description |
---|---|
Object |
cacheResult(javax.interceptor.InvocationContext invocationContext) |
protected abstract Log |
getLog() |
public AbstractCacheResultInterceptor(javax.cache.annotation.CacheResolver cacheResolver, CacheKeyInvocationContextFactory contextFactory)
Copyright © 2017 JBoss, a division of Red Hat. All rights reserved.