Package com.oracle.coherence.cdi.events
Class EventObserverSupport.SessionLifecycleEventHandler
java.lang.Object
com.oracle.coherence.cdi.events.EventObserverSupport.EventHandler<SessionLifecycleEvent,SessionLifecycleEvent.Type>
com.oracle.coherence.cdi.events.EventObserverSupport.SessionLifecycleEventHandler
- All Implemented Interfaces:
EventDispatcherAwareInterceptor<SessionLifecycleEvent>,EventInterceptor<SessionLifecycleEvent>
- Enclosing class:
EventObserverSupport
public static class EventObserverSupport.SessionLifecycleEventHandler
extends EventObserverSupport.EventHandler<SessionLifecycleEvent,SessionLifecycleEvent.Type>
Handler for
SessionLifecycleEvents.-
Field Summary
Fields inherited from class com.oracle.coherence.cdi.events.EventObserverSupport.EventHandler
m_observer, m_setTypes -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionprotected 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 Details
-
SessionLifecycleEventHandler
public SessionLifecycleEventHandler(EventObserverSupport.EventObserver<SessionLifecycleEvent> observer)
-
-
Method Details
-
isApplicable
Description copied from class:EventObserverSupport.EventHandlerReturntrueif this interceptor should be registered with a specified dispatcher.- Specified by:
isApplicablein classEventObserverSupport.EventHandler<SessionLifecycleEvent,SessionLifecycleEvent.Type> - 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
-