Interface EventHandler.ForObject<E>
- Type Parameters:
E
- the event type
- All Superinterfaces:
EventHandler<E>
- Enclosing interface:
EventHandler<E>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public static non-sealed interface EventHandler.ForObject<E>
extends EventHandler<E>
FunctionalInterface
to be implemented, if only the Java event is needed for processing.-
Nested Class Summary
Nested classes/interfaces inherited from interface com.opencqrs.framework.eventhandler.EventHandler
EventHandler.ForObject<E>, EventHandler.ForObjectAndMetaData<E>, EventHandler.ForObjectAndMetaDataAndRawEvent<E>
-
Method Summary
-
Method Details
-
handle
Handles the given event.- Parameters:
event
- the Java event object
-