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.
Constructor and Description |
---|
AbstractCacheResultInterceptor(javax.cache.annotation.CacheResolver cacheResolver,
CacheKeyInvocationContextFactory contextFactory) |
public AbstractCacheResultInterceptor(javax.cache.annotation.CacheResolver cacheResolver, CacheKeyInvocationContextFactory contextFactory)
public Object cacheResult(InvocationContext invocationContext) throws Exception
Exception
protected abstract Log getLog()
Copyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.