Package org.infinispan.jcache.annotation
Class AbstractCacheRemoveAllInterceptor
- java.lang.Object
-
- org.infinispan.jcache.annotation.AbstractCacheRemoveAllInterceptor
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CacheRemoveAllInterceptor
,InjectedCacheRemoveAllInterceptor
public abstract class AbstractCacheRemoveAllInterceptor extends Object implements Serializable
CacheRemoveAll
interceptor implementation. This interceptor uses the following algorithm describes in JSR-107.The interceptor that intercepts method annotated with
@CacheRemoveAll
must do the following, remove all entries associated with the cache. The removeAll occurs after the method body is executed. This can be overridden by specifying a afterInvocation attribute value of false. If afterInvocation is true and the annotated method throws an exception, the removeAll will not happen.- Author:
- Kevin Pollet
(C) 2011 SERLI - See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
trace
-
Constructor Summary
Constructors Constructor Description AbstractCacheRemoveAllInterceptor(javax.cache.annotation.CacheResolver cacheResolver, CacheKeyInvocationContextFactory contextFactory)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Object
cacheRemoveAll(javax.interceptor.InvocationContext invocationContext)
protected abstract org.infinispan.jcache.logging.Log
getLog()
-
-
-
Constructor Detail
-
AbstractCacheRemoveAllInterceptor
public AbstractCacheRemoveAllInterceptor(javax.cache.annotation.CacheResolver cacheResolver, CacheKeyInvocationContextFactory contextFactory)
-
-