Package com.oracle.coherence.cdi
Class AbstractCacheInterceptor
java.lang.Object
com.oracle.coherence.cdi.AbstractCacheInterceptor
- Direct Known Subclasses:
CacheAddInterceptor,CacheGetInterceptor,CachePutInterceptor,CacheRemoveInterceptor
Abstract base class for caching CDI interceptors.
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractCacheInterceptor(Coherence coherence, CoherenceExtension extension) Construct cache interceptor. -
Method Summary
Modifier and TypeMethodDescriptionprotected Coherenceprotected CoherenceExtensionprotected SessiongetSession(String sName) Obtains the namedSessionor the default one if session name was not specified.
-
Constructor Details
-
AbstractCacheInterceptor
Construct cache interceptor.- Parameters:
coherence- the Coherence instanceextension- the Coherence extension
-
-
Method Details
-
getSession
Obtains the namedSessionor the default one if session name was not specified.- Parameters:
sName- session name- Returns:
- the Coherence session
-
getCoherence
-
getExtension
-