DefaultAggregateDsl

constructor(commandAggregateType: Class<C>)

Parameters

C

the command type that triggers aggregate operations

S

the state type maintained by the aggregate