E - the Event this interceptor accepts
public interface EventInterceptor<E extends Event<? extends Enum>>
Events.
While it's possible for EventInterceptor instances to be reused, they should be immutable or thread-safe such that an interceptor could be dispatched by multiple threads concurrently.
| Modifier and Type | Method and Description |
|---|---|
void |
onEvent(E event)
Perform necessary processing of the specified
Event. |
void onEvent(E event)
Event.event - the Event to be processedEvent.nextInterceptor()