Class FederationEventHandler<E extends com.tangosol.net.events.Event<T>,T extends Enum<T>>
- java.lang.Object
 - 
- com.oracle.coherence.spring.event.liveevent.handler.EventHandler<E,T>
 - 
- com.oracle.coherence.spring.event.liveevent.handler.ServiceEventHandler<E,T>
 - 
- com.oracle.coherence.spring.event.liveevent.handler.FederationEventHandler<E,T>
 
 
 
 
- 
- Type Parameters:
 E- the type ofEventthis interceptor acceptsT- the enumeration of event types E supports
- All Implemented Interfaces:
 com.tangosol.net.events.EventDispatcherAwareInterceptor<E>,com.tangosol.net.events.EventInterceptor<E>
- Direct Known Subclasses:
 FederatedChangeEventHandler,FederatedConnectionEventHandler,FederatedPartitionEventHandler
public abstract class FederationEventHandler<E extends com.tangosol.net.events.Event<T>,T extends Enum<T>> extends ServiceEventHandler<E,T>
Abstract base class for all observer-based federation interceptors.- Since:
 - 3.0
 - Author:
 - Gunnar Hillert
 
 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected StringparticipantNameprotected Function<E,String>participantNameFunction- 
Fields inherited from class com.oracle.coherence.spring.event.liveevent.handler.ServiceEventHandler
serviceName 
- 
Fields inherited from class com.oracle.coherence.spring.event.liveevent.handler.EventHandler
eventTypes, observer 
 - 
 
- 
Constructor Summary
Constructors Constructor Description FederationEventHandler(MethodEventObserver<E> observer, Class<T> type, Function<E,String> participantNameFunction) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanisApplicable(com.tangosol.net.events.EventDispatcher dispatcher, String sScopeName)protected booleanshouldFire(E event)- 
Methods inherited from class com.oracle.coherence.spring.event.liveevent.handler.EventHandler
getEventTypes, getId, introduceEventDispatcher, onEvent, removeScope 
 - 
 
 - 
 
- 
- 
Method Detail
- 
isApplicable
protected boolean isApplicable(com.tangosol.net.events.EventDispatcher dispatcher, String sScopeName)- Overrides:
 isApplicablein classServiceEventHandler<E extends com.tangosol.net.events.Event<T>,T extends Enum<T>>
 
- 
shouldFire
protected boolean shouldFire(E event)
 
 - 
 
 -