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