Class ServiceEventHandler<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>
- Type Parameters:
E
- the type ofEvent
this 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:
FederationEventHandler
,TransactionEventHandler
,TransferEventHandler
,UnsolicitedCommitEventHandler
public abstract class ServiceEventHandler<E extends com.tangosol.net.events.Event<T>,T extends Enum<T>>
extends EventHandler<E,T>
Abstract base class for all observer-based service interceptors.
- Since:
- 3.0
- Author:
- Gunnar Hillert
-
Field Summary
Fields inherited from class com.oracle.coherence.spring.event.liveevent.handler.EventHandler
eventTypes, observer
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
isApplicable
(com.tangosol.net.events.EventDispatcher dispatcher, String scopeName) Methods inherited from class com.oracle.coherence.spring.event.liveevent.handler.EventHandler
getEventTypes, getId, introduceEventDispatcher, onEvent, removeScope
-
Field Details
-
serviceName
-
-
Method Details
-
isApplicable
protected boolean isApplicable(com.tangosol.net.events.EventDispatcher dispatcher, String scopeName)
-