- Type Parameters:
E- theEventthe interceptor being un/registered will intercept
- All Superinterfaces:
Event<EventDispatcher.InterceptorRegistrationEvent.Type>
- Enclosing interface:
EventDispatcher
public static interface EventDispatcher.InterceptorRegistrationEvent<E extends Event<? extends Enum>>
extends Event<EventDispatcher.InterceptorRegistrationEvent.Type>
An InterceptorRegistrationEvent allows
EventInterceptors to observe
other EventInterceptors being added or removed from an EventDispatcher
instance.- Since:
- Coherence 12.1.2
- Author:
- bo, nsa, rhan, mwj, rhl, hr 2011.03.29
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumThe InterceptorRegistrationEvent types. -
Method Summary
Modifier and TypeMethodDescriptionReturn the Event Types theEventInterceptorbeing registered will intercept.Return the identifier theEventInterceptorwas registered with.Return theEventInterceptorthat is either: in the process ofregisteringhas beenregisteredhas beenremovedvoidsetInterceptor(EventInterceptor<E> incptr) Set theEventInterceptorthat should be registered in place of the EventInterceptor originally being registered.Methods inherited from interface com.tangosol.net.events.Event
getDispatcher, getType, nextInterceptor
-
Method Details
-
getIdentifier
String getIdentifier()Return the identifier theEventInterceptorwas registered with.- Returns:
- the identifier the EventInterceptor was registered with
-
getEventTypes
Return the Event Types theEventInterceptorbeing registered will intercept. As this event is emitted under the scope of anEventDispatcher, these event types will either be the entire set or subset ofsupported typeson the EventDispatcher.- Returns:
- the Event Types the EventInterceptor will intercept
-
getInterceptor
EventInterceptor<E> getInterceptor()Return theEventInterceptorthat is either:- in the process of
registering - has been
registered - has been
removed
- Returns:
- the EventInterceptor being un/registered
- in the process of
-
setInterceptor
Set theEventInterceptorthat should be registered in place of the EventInterceptor originally being registered.- Parameters:
incptr- the EventInterceptor that should be registered
-