Package com.oracle.coherence.cdi.events
Class EventObserverSupport.CoherenceLifecycleEventHandler
- java.lang.Object
-
- com.oracle.coherence.cdi.events.EventObserverSupport.EventHandler<CoherenceLifecycleEvent,CoherenceLifecycleEvent.Type>
-
- com.oracle.coherence.cdi.events.EventObserverSupport.CoherenceLifecycleEventHandler
-
- All Implemented Interfaces:
EventDispatcherAwareInterceptor<CoherenceLifecycleEvent>
,EventInterceptor<CoherenceLifecycleEvent>
- Enclosing class:
- EventObserverSupport
public static class EventObserverSupport.CoherenceLifecycleEventHandler extends EventObserverSupport.EventHandler<CoherenceLifecycleEvent,CoherenceLifecycleEvent.Type>
Handler forCoherenceLifecycleEvent
s.
-
-
Field Summary
-
Fields inherited from class com.oracle.coherence.cdi.events.EventObserverSupport.EventHandler
m_observer, m_setTypes
-
-
Constructor Summary
Constructors Constructor Description CoherenceLifecycleEventHandler(EventObserverSupport.EventObserver<CoherenceLifecycleEvent> observer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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
-
-
-
-
Constructor Detail
-
CoherenceLifecycleEventHandler
public CoherenceLifecycleEventHandler(EventObserverSupport.EventObserver<CoherenceLifecycleEvent> observer)
-
-
Method Detail
-
isApplicable
protected boolean isApplicable(EventDispatcher dispatcher, String sScopeName)
Description copied from class:EventObserverSupport.EventHandler
Returntrue
if this interceptor should be registered with a specified dispatcher.- Specified by:
isApplicable
in classEventObserverSupport.EventHandler<CoherenceLifecycleEvent,CoherenceLifecycleEvent.Type>
- 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
-
-