AggregateAutoConfiguration

@AutoConfiguration
class AggregateAutoConfiguration

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
@Bean
@ConditionalOnMissingBean
@Order(value = 100)
fun aggregateDispatcher(@Qualifier(value = "wow.CurrentBoundedContext") namedBoundedContext: NamedBoundedContext, commandBus: CommandGateway, commandHandler: CommandHandler, metrics: ObjectProvider<WowMetrics>): CommandDispatcher
Link copied to clipboard
@Bean
@ConditionalOnMissingBean
fun aggregateProcessorFactory(stateAggregateFactory: StateAggregateFactory, stateAggregateRepository: StateAggregateRepository, commandAggregateFactory: CommandAggregateFactory): AggregateProcessorFactory
Link copied to clipboard
@Bean
@ConditionalOnMissingBean
fun commandAggregateFactory(eventStore: EventStore, messagePropagators: ObjectProvider<MessagePropagators>): CommandAggregateFactory
Link copied to clipboard
@Bean(value = ["commandErrorHandler"])
@ConditionalOnMissingBean(name = ["commandErrorHandler"])
fun commandErrorHandler(): ErrorHandler<ServerCommandExchange<*>>
Link copied to clipboard
@Bean
@ConditionalOnMissingBean
fun commandHandler(serviceProvider: ServiceProvider, aggregateProcessorFactory: AggregateProcessorFactory, domainEventBus: DomainEventBus, stateEventBus: ObjectProvider<StateEventBus>, commandWaitNotifier: ObjectProvider<CommandWaitNotifier>, instrumentations: ObjectProvider<CommandInstrumentation>, commandProperties: ObjectProvider<CommandProperties>, eventStore: ObjectProvider<EventStore>, @Qualifier(value = "commandErrorHandler") commandErrorHandler: ErrorHandler<ServerCommandExchange<*>>): CommandHandler
Link copied to clipboard
@Bean
fun retiredCommandFilterCheck(beanFactory: ConfigurableListableBeanFactory): SmartInitializingSingleton
Link copied to clipboard
@Bean
@ConditionalOnMissingBean
fun stateAggregateFactory(): StateAggregateFactory
Link copied to clipboard
@Bean
@ConditionalOnMissingBean
fun stateAggregateRepository(stateAggregateFactory: StateAggregateFactory, snapshotStore: SnapshotStore, eventStore: EventStore): StateAggregateRepository