public class EventProcessorInfoConfiguration extends Object implements ModuleConfiguration
EventProcessor
s with AxonServer.Constructor and Description |
---|
EventProcessorInfoConfiguration()
Create an default EventProcessorInfoConfiguration, which uses the
Configuration as a means to retrieve
the EventProcessingConfiguration , AxonServerConnectionManager and AxonServerConfiguration . |
EventProcessorInfoConfiguration(Function<Configuration,EventProcessingConfiguration> eventProcessingConfigurationBuilder,
Function<Configuration,AxonServerConnectionManager> connectionManagerBuilder,
Function<Configuration,AxonServerConfiguration> axonServerConfigurationBuilder)
Creates an EventProcessorInfoConfiguration using the provided functions to retrieve the
EventProcessingConfiguration , AxonServerConnectionManager and AxonServerConfiguration . |
EventProcessorInfoConfiguration(Function<Configuration,EventProcessorControlService> eventProcessorControlService)
Create a default EventProcessorInfoConfiguration, which uses the
EventProcessorControlService |
Modifier and Type | Method and Description |
---|---|
void |
initialize(Configuration config)
Initialize the module configuration using the given global
config . |
public EventProcessorInfoConfiguration()
Configuration
as a means to retrieve
the EventProcessingConfiguration
, AxonServerConnectionManager
and AxonServerConfiguration
.public EventProcessorInfoConfiguration(Function<Configuration,EventProcessingConfiguration> eventProcessingConfigurationBuilder, Function<Configuration,AxonServerConnectionManager> connectionManagerBuilder, Function<Configuration,AxonServerConfiguration> axonServerConfigurationBuilder)
EventProcessingConfiguration
, AxonServerConnectionManager
and AxonServerConfiguration
.eventProcessingConfigurationBuilder
- a Function taking in the Configuration
and providing a EventProcessingConfiguration
connectionManagerBuilder
- a Function taking in the Configuration
and providing a AxonServerConnectionManager
axonServerConfigurationBuilder
- a Function taking in the Configuration
and providing a AxonServerConfiguration
public EventProcessorInfoConfiguration(Function<Configuration,EventProcessorControlService> eventProcessorControlService)
EventProcessorControlService
eventProcessorControlService
- a Function taking in the Configuration
and providing a EventProcessorControlService
public void initialize(Configuration config)
ModuleConfiguration
config
. Any specific start up or shut down
processes should be added here by using the provided config
and invoke LifecycleOperations.onStart(int,
LifecycleHandler)
and LifecycleOperations.onShutdown(int, LifecycleHandler)
respectively.initialize
in interface ModuleConfiguration
config
- the global configuration, providing access to generic componentsCopyright © 2010–2024. All rights reserved.