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 Summary
Modifier 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
- 
onEvent
Description copied from interface:EventInterceptorPerform necessary processing of the specifiedEvent.- Specified by:
 onEventin interfaceEventInterceptor<CoherenceLifecycleEvent>- Parameters:
 event- the Event to be processed- See Also:
 
 - 
introduceEventDispatcher
Description 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 interfaceEventDispatcherAwareInterceptor<CoherenceLifecycleEvent>- Parameters:
 sIdentifier- the unique name identifying this interceptordispatcher- the dispatcher being introduced
 
 -