Uses of Class
org.axonframework.eventsourcing.EventSourcingRepository.Builder
Packages that use EventSourcingRepository.Builder
-
Uses of EventSourcingRepository.Builder in org.axonframework.eventsourcing
Methods in org.axonframework.eventsourcing that return EventSourcingRepository.BuilderModifier and TypeMethodDescriptionEventSourcingRepository.Builder.aggregateFactory(AggregateFactory<T> aggregateFactory) Sets theAggregateFactoryused to create new Aggregate instances.EventSourcingRepository.Builder.aggregateModel(AggregateModel<T> aggregateModel) static <T> EventSourcingRepository.Builder<T> Instantiate a Builder to be able to create aEventSourcingRepositoryfor aggregate typeT.Sets theCachewhich services repositories for specific aggregate types.EventSourcingRepository.Builder.eventStore(EventStore eventStore) Sets theEventStorethat holds the event stream this repository needs to event source an Aggregate.EventSourcingRepository.Builder.eventStreamFilter(Predicate<? super DomainEventMessage<?>> filter) Sets thePredicateused to filter events when reading from the EventStore.EventSourcingRepository.Builder.filterByAggregateType()Configures a filter that rejects events with a different Aggregate type than the one specified by this Repository'sAggregateModel.EventSourcingRepository.Builder.handlerDefinition(HandlerDefinition handlerDefinition) EventSourcingRepository.Builder.lockFactory(LockFactory lockFactory) Sets theLockFactoryused to lock an aggregate.EventSourcingRepository.Builder.parameterResolverFactory(ParameterResolverFactory parameterResolverFactory) EventSourcingRepository.Builder.repositoryProvider(RepositoryProvider repositoryProvider) Sets theRepositoryProviderwhich services repositories for specific aggregate types.EventSourcingRepository.Builder.snapshotTriggerDefinition(SnapshotTriggerDefinition snapshotTriggerDefinition) Sets theSnapshotTriggerDefinitionspecifying when to trigger a snapshot for an Aggregate contained in this repository.EventSourcingRepository.Builder.spanFactory(RepositorySpanFactory spanFactory) EventSourcingRepository.Builder.spanFactory(SpanFactory spanFactory) Deprecated.Constructors in org.axonframework.eventsourcing with parameters of type EventSourcingRepository.BuilderModifierConstructorDescriptionprotectedInstantiate aCachingEventSourcingRepositorybased on the fields contained in theEventSourcingRepository.Builder.protectedInstantiate aEventSourcingRepositorybased on the fields contained in theEventSourcingRepository.Builder.