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