Package org.infinispan.jcache.annotation
Class InjectedCachePutInterceptor
- java.lang.Object
-
- org.infinispan.jcache.annotation.AbstractCachePutInterceptor
-
- org.infinispan.jcache.annotation.InjectedCachePutInterceptor
-
- All Implemented Interfaces:
Serializable
@Interceptor public class InjectedCachePutInterceptor extends AbstractCachePutInterceptor
CachePutInterceptor 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
-
-
Constructor Summary
Constructors Constructor Description InjectedCachePutInterceptor(InjectedCacheResolver cacheResolver, CacheKeyInvocationContextFactory contextFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
cachePut(javax.interceptor.InvocationContext invocationContext)
protected org.infinispan.jcache.logging.Log
getLog()
-
-
-
Constructor Detail
-
InjectedCachePutInterceptor
@Inject public InjectedCachePutInterceptor(InjectedCacheResolver cacheResolver, CacheKeyInvocationContextFactory contextFactory)
-
-
Method Detail
-
cachePut
public Object cachePut(javax.interceptor.InvocationContext invocationContext) throws Exception
- Overrides:
cachePut
in classAbstractCachePutInterceptor
- Throws:
Exception
-
getLog
protected org.infinispan.jcache.logging.Log getLog()
- Specified by:
getLog
in classAbstractCachePutInterceptor
-
-