- build
Initializes a EventSourcingRepository or CachingEventSourcingRepository as
specified through this Bu
- eventStore
Sets the EventStore that holds the event stream this repository needs to event
source an Aggregate.
- aggregateFactory
Sets the AggregateFactory used to create new Aggregate instances.
- repositoryProvider
Sets the RepositoryProvider which services repositories for specific aggregate
types.
- <init>
Creates a builder for a Repository for given aggregateType.
- aggregateModel
- cache
Sets the Cache which services repositories for specific aggregate types.
- lockFactory
If this Builder is used to instantiate a CachingEventSourcingRepository, do note
that an optimistic
- parameterResolverFactory
- snapshotTriggerDefinition
Sets the SnapshotTriggerDefinition specifying when to trigger a snapshot for an
Aggregate contained