Package com.oracle.coherence.cdi.events
Class EventObserverSupport.EntryEventHandler<K,V>
- java.lang.Object
-
- com.oracle.coherence.cdi.events.EventObserverSupport.EventHandler<E,T>
-
- com.oracle.coherence.cdi.events.EventObserverSupport.EntryEventHandler<K,V>
-
- All Implemented Interfaces:
EventDispatcherAwareInterceptor<EntryEvent<K,V>>,EventInterceptor<EntryEvent<K,V>>
- Enclosing class:
- EventObserverSupport
public static class EventObserverSupport.EntryEventHandler<K,V> extends EventObserverSupport.EventHandler<E,T>
Handler forEntryEvents.
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringm_cacheNameprotected Stringm_serviceNameprotected Stringm_sessionName-
Fields inherited from class com.oracle.coherence.cdi.events.EventObserverSupport.EventHandler
m_observer, m_setTypes
-
-
Constructor Summary
Constructors Constructor Description EntryEventHandler(EventObserverSupport.EventObserver<EntryEvent<K,V>> observer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanisApplicable(EventDispatcher dispatcher, String sScopeName)Returntrueif this interceptor should be registered with a specified dispatcher.-
Methods inherited from class com.oracle.coherence.cdi.events.EventObserverSupport.EventHandler
addType, eventTypes, getEventScope, getId, getScopeName, introduceEventDispatcher, onEvent, removeScope, shouldFire
-
-
-
-
Constructor Detail
-
EntryEventHandler
public EntryEventHandler(EventObserverSupport.EventObserver<EntryEvent<K,V>> observer)
-
-
Method Detail
-
isApplicable
protected boolean isApplicable(EventDispatcher dispatcher, String sScopeName)
Description copied from class:EventObserverSupport.EventHandlerReturntrueif this interceptor should be registered with a specified dispatcher.- Specified by:
isApplicablein classEventObserverSupport.EventHandler<E extends Event<T>,T extends Enum<T>>- Parameters:
dispatcher- a dispatcher to register this interceptor withsScopeName- a scope name the observer is interested in, ornullfor all scopes- Returns:
trueif this interceptor should be registered with a specified dispatcher;falseotherwise
-
-