Class CacheRemoveInterceptor


  • @Interceptor
    @Priority(1005)
    public class CacheRemoveInterceptor
    extends AbstractCacheInterceptor
    A CDI interceptor that removes value from the cache and invokes target method.
    • Method Detail

      • cacheRemove

        public Object cacheRemove​(javax.interceptor.InvocationContext ctxInvocation)
                           throws Exception
        Removes cached value.
        Parameters:
        ctxInvocation - the invocation context
        Returns:
        result of the invocation of the target method
        Throws:
        Exception - if thrown by target method