AggregateProcessorFactory

Factory interface for creating aggregate processors.

Implementations of this interface are responsible for instantiating aggregate processors for specific aggregate instances.

Inheritors

Functions

Link copied to clipboard
abstract fun <C : Any, S : Any> create(aggregateId: AggregateId, aggregateMetadata: AggregateMetadata<C, S>): AggregateProcessor<C>

Creates an aggregate processor for the specified aggregate ID and metadata.