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
ConstructorDescriptionAbstractCacheInterceptor
(Coherence coherence, CoherenceExtension extension) Construct cache interceptor. -
Method Summary
Modifier and TypeMethodDescriptionprotected Coherence
protected CoherenceExtension
protected Session
getSession
(String sName) Obtains the namedSession
or 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 namedSession
or the default one if session name was not specified.- Parameters:
sName
- session name- Returns:
- the Coherence session
-
getCoherence
-
getExtension
-