Class AnnotatedEventSourcingHandler<T>
java.lang.Object
io.fluxcapacitor.javaclient.persisting.eventsourcing.AnnotatedEventSourcingHandler<T>
- All Implemented Interfaces:
EventSourcingHandler<T>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static class -
Constructor Summary
ConstructorsConstructorDescriptionAnnotatedEventSourcingHandler(Class<? extends T> handlerType) AnnotatedEventSourcingHandler(Class<? extends T> handlerType, List<ParameterResolver<? super DeserializingMessage>> parameterResolvers) -
Method Summary
Modifier and TypeMethodDescriptionbooleancanHandle(Entity<?, T> entity, DeserializingMessage message) invoke(Entity<?, T> entity, DeserializingMessage message)
-
Constructor Details
-
AnnotatedEventSourcingHandler
-
AnnotatedEventSourcingHandler
public AnnotatedEventSourcingHandler(Class<? extends T> handlerType, List<ParameterResolver<? super DeserializingMessage>> parameterResolvers)
-
-
Method Details
-
invoke
- Specified by:
invokein interfaceEventSourcingHandler<T>
-
canHandle
- Specified by:
canHandlein interfaceEventSourcingHandler<T>
-