Package org.infinispan.jcache.annotation
Class InjectedCacheResultInterceptor
- java.lang.Object
-
- org.infinispan.jcache.annotation.AbstractCacheResultInterceptor
-
- org.infinispan.jcache.annotation.InjectedCacheResultInterceptor
-
- All Implemented Interfaces:
Serializable
@Interceptor public class InjectedCacheResultInterceptor extends AbstractCacheResultInterceptor
CacheResultInterceptor for environments where the cache manager is injected in a managed environment, e.g. application server.- Since:
- 6.0
- Author:
- Galder ZamarreƱo
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.infinispan.jcache.annotation.AbstractCacheResultInterceptor
trace
-
-
Constructor Summary
Constructors Constructor Description InjectedCacheResultInterceptor(InjectedCacheResolver cacheResolver, CacheKeyInvocationContextFactory contextFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
cacheResult(javax.interceptor.InvocationContext invocationContext)
protected org.infinispan.jcache.logging.Log
getLog()
-
-
-
Constructor Detail
-
InjectedCacheResultInterceptor
@Inject public InjectedCacheResultInterceptor(InjectedCacheResolver cacheResolver, CacheKeyInvocationContextFactory contextFactory)
-
-
Method Detail
-
cacheResult
public Object cacheResult(javax.interceptor.InvocationContext invocationContext) throws Exception
- Overrides:
cacheResult
in classAbstractCacheResultInterceptor
- Throws:
Exception
-
getLog
protected org.infinispan.jcache.logging.Log getLog()
- Specified by:
getLog
in classAbstractCacheResultInterceptor
-
-