static <CONFIG extends dk.cloudcreate.essentials.components.eventsourced.eventstore.postgresql.persistence.AggregateEventStreamConfiguration,ID,AGGREGATE_TYPE extends FlexAggregate<ID,AGGREGATE_TYPE>> FlexAggregateRepository<ID,AGGREGATE_TYPE> |
FlexAggregateRepository.from(dk.cloudcreate.essentials.components.eventsourced.eventstore.postgresql.ConfigurableEventStore<CONFIG> eventStore,
CONFIG aggregateEventStreamConfiguration,
dk.cloudcreate.essentials.components.eventsourced.eventstore.postgresql.transaction.EventStoreUnitOfWorkFactory unitOfWorkFactory,
Class<ID> aggregateIdType,
Class<AGGREGATE_TYPE> aggregateImplementationType) |
|
static <CONFIG extends dk.cloudcreate.essentials.components.eventsourced.eventstore.postgresql.persistence.AggregateEventStreamConfiguration,ID,AGGREGATE_TYPE extends FlexAggregate<ID,AGGREGATE_TYPE>> FlexAggregateRepository<ID,AGGREGATE_TYPE> |
FlexAggregateRepository.from(dk.cloudcreate.essentials.components.eventsourced.eventstore.postgresql.ConfigurableEventStore<CONFIG> eventStore,
dk.cloudcreate.essentials.components.eventsourced.eventstore.postgresql.eventstream.AggregateType aggregateType,
dk.cloudcreate.essentials.components.eventsourced.eventstore.postgresql.transaction.EventStoreUnitOfWorkFactory unitOfWorkFactory,
Class<ID> aggregateIdType,
Class<AGGREGATE_TYPE> aggregateImplementationType) |
Create a FlexAggregateRepository - if missing, the EventStore will be configured with the
default AggregateEventStreamConfiguration based on the AggregateEventStreamConfigurationFactory that the EventStore's AggregateEventStreamPersistenceStrategy
is configured with
|