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> eventProcessingConfiguration,
Function<Configuration,AxonServerConnectionManager> connectionManager,
Function<Configuration,AxonServerConfiguration> axonServerConfiguration)
Creates an EventProcessorInfoConfiguration using the provided functions to retrieve the
EventProcessingConfiguration , AxonServerConnectionManager and AxonServerConfiguration . |
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> eventProcessingConfiguration, Function<Configuration,AxonServerConnectionManager> connectionManager, Function<Configuration,AxonServerConfiguration> axonServerConfiguration)
EventProcessingConfiguration
, AxonServerConnectionManager
and AxonServerConfiguration
.eventProcessingConfiguration
- a Function taking in the Configuration
and providing a EventProcessingConfiguration
connectionManager
- a Function taking in the Configuration
and providing a AxonServerConnectionManager
axonServerConfiguration
- a Function taking in the Configuration
and providing a AxonServerConfiguration
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 Configuration.onStart(int,
LifecycleHandler)
and Configuration.onShutdown(int, LifecycleHandler)
respectively.initialize
in interface ModuleConfiguration
config
- the global configuration, providing access to generic componentsCopyright © 2010–2022. All rights reserved.