Package com.tangosol.net.events
Interface EventDispatcher.InterceptorRegistrationEvent<E extends Event<? extends Enum>>
-
- Type Parameters:
E
- theEvent
the 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 allowsEventInterceptor
s to observe other EventInterceptors being added or removed from anEventDispatcher
instance.- Since:
- Coherence 12.1.2
- See Also:
EventDispatcher.InterceptorRegistrationEvent.Type
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
EventDispatcher.InterceptorRegistrationEvent.Type
The InterceptorRegistrationEvent types.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Set<Enum>
getEventTypes()
Return the Event Types theEventInterceptor
being registered will intercept.String
getIdentifier()
Return the identifier theEventInterceptor
was registered with.EventInterceptor<E>
getInterceptor()
Return theEventInterceptor
that is either: in the process ofregistering
has beenregistered
has beenremoved
void
setInterceptor(EventInterceptor<E> incptr)
Set theEventInterceptor
that should be registered in place of the EventInterceptor originally being registered.-
Methods inherited from interface com.tangosol.net.events.Event
getDispatcher, getType, nextInterceptor
-
-
-
-
Method Detail
-
getIdentifier
String getIdentifier()
Return the identifier theEventInterceptor
was registered with.- Returns:
- the identifier the EventInterceptor was registered with
-
getEventTypes
Set<Enum> getEventTypes()
Return the Event Types theEventInterceptor
being 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 types
on the EventDispatcher.- Returns:
- the Event Types the EventInterceptor will intercept
-
getInterceptor
EventInterceptor<E> getInterceptor()
Return theEventInterceptor
that is either:- in the process of
registering
- has been
registered
- has been
removed
- Returns:
- the EventInterceptor being un/registered
- in the process of
-
setInterceptor
void setInterceptor(EventInterceptor<E> incptr)
Set theEventInterceptor
that should be registered in place of the EventInterceptor originally being registered.- Parameters:
incptr
- the EventInterceptor that should be registered
-
-