Class CachePutInterceptor

java.lang.Object
com.oracle.coherence.cdi.AbstractCacheInterceptor
com.oracle.coherence.cdi.CachePutInterceptor

@Interceptor @Priority(1005) public class CachePutInterceptor extends AbstractCacheInterceptor
A CDI interceptor that stores parameter value in the Coherence cache.
  • Constructor Details

  • Method Details

    • cachePut

      public Object cachePut(jakarta.interceptor.InvocationContext ctxInvocation) throws Exception
      Stores parameter annotated with CacheValue into cache, invokes target method and returns result of the invocation.
      Parameters:
      ctxInvocation - the invocation context
      Returns:
      the result of the invocation of the target method
      Throws:
      Exception - if thrown by target method