Class AbstractCacheInterceptor

java.lang.Object
com.oracle.coherence.cdi.AbstractCacheInterceptor
Direct Known Subclasses:
CacheAddInterceptor, CacheGetInterceptor, CachePutInterceptor, CacheRemoveInterceptor

public abstract class AbstractCacheInterceptor extends Object
Abstract base class for caching CDI interceptors.
  • Constructor Details

    • AbstractCacheInterceptor

      public AbstractCacheInterceptor(Coherence coherence, CoherenceExtension extension)
      Construct cache interceptor.
      Parameters:
      coherence - the Coherence instance
      extension - the Coherence extension
  • Method Details

    • getSession

      protected Session getSession(String sName)
      Obtains the named Session or the default one if session name was not specified.
      Parameters:
      sName - session name
      Returns:
      the Coherence session
    • getCoherence

      protected Coherence getCoherence()
    • getExtension

      protected CoherenceExtension getExtension()