Uses of Package
dk.cloudcreate.essentials.components.eventsourced.aggregates.stateful
-
Classes in dk.cloudcreate.essentials.components.eventsourced.aggregates.stateful used by dk.cloudcreate.essentials.components.eventsourced.aggregates.stateful Class Description StatefulAggregate StatefulAggregateInstanceFactory Factory that helps theStatefulAggregateRepository/StatefulAggregateInMemoryProjectorto create an instance of a givenAggregate.StatefulAggregateRepository OpinionatedAggregateRepository that's built to persist and load a specificStatefulAggregatetype in combination withEventStore,UnitOfWorkFactoryand aStatefulAggregateInstanceFactory.
You can use theStatefulAggregateRepository.from(ConfigurableEventStore, AggregateEventStreamConfiguration, StatefulAggregateInstanceFactory, Class)to create a newStatefulAggregateRepositoryinstance that supports the most common repository method.
Alternatively you can extend from theStatefulAggregateRepository.DefaultStatefulAggregateRepositoryand add your own special methods