Package org.axonframework.config
Interface EventProcessingConfigurer.EventProcessorBuilder
- Enclosing interface:
EventProcessingConfigurer
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Contract which defines how to build an event processor.
-
Method Summary
Modifier and TypeMethodDescriptionbuild(String name, Configuration configuration, EventHandlerInvoker eventHandlerInvoker)
-
Method Details
-
build
EventProcessor build(String name, Configuration configuration, EventHandlerInvoker eventHandlerInvoker) - Parameters:
name- aStringspecifying the name of theEventProcessorto createconfiguration- the globalConfigurationthe implementation may use to obtain dependencieseventHandlerInvoker- theEventHandlerInvokerassigned to theEventProcessorto be created, used to invoke event handlers- Returns:
- an
EventProcessor
-