Package com.tangosol.net
Interface Coherence.LifecycleListener
- All Superinterfaces:
- EventDispatcherAwareInterceptor<CoherenceLifecycleEvent>,- EventInterceptor<CoherenceLifecycleEvent>
- Enclosing class:
- Coherence
public static interface Coherence.LifecycleListener
extends EventDispatcherAwareInterceptor<CoherenceLifecycleEvent>
An interface implemented by listeners of 
CoherenceLifecycleEvents.
 
 Implementations of this interface properly registered as services will be discovered
 using the ServiceLoader and automatically registered as interceptors with
 each Coherence instance.
- 
Method SummaryModifier and TypeMethodDescriptiondefault voidintroduceEventDispatcher(String sIdentifier, EventDispatcher dispatcher) Introduce and possibly bind thisEventInterceptorto the specifiedEventDispatcher.voidonEvent(CoherenceLifecycleEvent event) Perform necessary processing of the specifiedEvent.
- 
Method Details- 
onEventDescription copied from interface:EventInterceptorPerform necessary processing of the specifiedEvent.- Specified by:
- onEventin interface- EventInterceptor<CoherenceLifecycleEvent>
- Parameters:
- event- the Event to be processed
- See Also:
 
- 
introduceEventDispatcherDescription copied from interface:EventDispatcherAwareInterceptorIntroduce and possibly bind thisEventInterceptorto the specifiedEventDispatcher.Note that EventInterceptors are responsible for determining whether they should be registered with an EventDispatcher by calling EventDispatcher.addEventInterceptor(com.tangosol.net.events.EventInterceptor<E>).- Specified by:
- introduceEventDispatcherin interface- EventDispatcherAwareInterceptor<CoherenceLifecycleEvent>
- Parameters:
- sIdentifier- the unique name identifying this interceptor
- dispatcher- the dispatcher being introduced
 
 
-