Package com.oracle.coherence.cdi.events
Class EventObserverSupport.EntryEventHandler<K,V>
java.lang.Object
com.oracle.coherence.cdi.events.EventObserverSupport.EventHandler<EntryEvent<K,V>,EntryEvent.Type>
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<EntryEvent<K,V>,EntryEvent.Type>
Handler for
EntryEvent
s.-
Field Summary
Modifier and TypeFieldDescriptionprotected final String
protected final String
protected final String
Fields inherited from class com.oracle.coherence.cdi.events.EventObserverSupport.EventHandler
m_observer, m_setTypes
-
Constructor Summary
ConstructorDescriptionEntryEventHandler
(EventObserverSupport.EventObserver<EntryEvent<K, V>> observer) -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
isApplicable
(EventDispatcher dispatcher, String sScopeName) Returntrue
if 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
-
Field Details
-
m_cacheName
-
m_serviceName
-
m_sessionName
-
-
Constructor Details
-
EntryEventHandler
-
-
Method Details
-
isApplicable
Description copied from class:EventObserverSupport.EventHandler
Returntrue
if this interceptor should be registered with a specified dispatcher.- Specified by:
isApplicable
in 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, ornull
for all scopes- Returns:
true
if this interceptor should be registered with a specified dispatcher;false
otherwise
-