Package | Description |
---|---|
org.axonframework.eventhandling |
Classes related to event handling and dispatching, such as
Event Listeners and the Event Bus . |
Modifier and Type | Method and Description |
---|---|
static SimpleEventHandlerInvoker.Builder |
SimpleEventHandlerInvoker.builder()
Instantiate a Builder to be able to create a
SimpleEventHandlerInvoker . |
SimpleEventHandlerInvoker.Builder |
SimpleEventHandlerInvoker.Builder.eventHandlers(List<?> eventHandlers)
Sets the
eventHandlers this EventHandlerInvoker will forward all its events to. |
SimpleEventHandlerInvoker.Builder |
SimpleEventHandlerInvoker.Builder.eventHandlers(Object... eventHandlers)
Sets the
eventHandlers this EventHandlerInvoker will forward all its events to. |
SimpleEventHandlerInvoker.Builder |
SimpleEventHandlerInvoker.Builder.handlerDefinition(HandlerDefinition handlerDefinition)
Sets the
HandlerDefinition used to create concrete handlers in the annotated handlers in the
AnnotationEventHandlerAdapter this EventHandlerInvoker instantiates. |
SimpleEventHandlerInvoker.Builder |
SimpleEventHandlerInvoker.Builder.listenerInvocationErrorHandler(ListenerInvocationErrorHandler listenerInvocationErrorHandler)
Sets the
ListenerInvocationErrorHandler which deals with any Exception s being thrown by the
EventListener s. |
SimpleEventHandlerInvoker.Builder |
SimpleEventHandlerInvoker.Builder.parameterResolverFactory(ParameterResolverFactory parameterResolverFactory)
Sets the
ParameterResolverFactory used to resolve parameter values for annotated handlers in the
AnnotationEventHandlerAdapter this EventHandlerInvoker instantiates. |
SimpleEventHandlerInvoker.Builder |
SimpleEventHandlerInvoker.Builder.sequencingPolicy(SequencingPolicy<? super EventMessage<?>> sequencingPolicy)
Sets the
SequencingPolicy in charge of deciding whether a given event should be handled (through
SimpleEventHandlerInvoker.handle(EventMessage, Segment) ) by the given Segment . |
Constructor and Description |
---|
SimpleEventHandlerInvoker(SimpleEventHandlerInvoker.Builder builder)
Instantiate a
SimpleEventHandlerInvoker based on the fields contained in the SimpleEventHandlerInvoker.Builder . |
Copyright © 2010–2018. All rights reserved.