Uses of Interface
org.axonframework.modelling.command.RepositoryProvider
Packages that use RepositoryProvider
Package
Description
Classes related to event sourcing.
-
Uses of RepositoryProvider in org.axonframework.disruptor.commandhandling
Methods in org.axonframework.disruptor.commandhandling with parameters of type RepositoryProviderModifier and TypeMethodDescription<T> Repository<T> CommandHandlerInvoker.createRepository(EventStore eventStore, RepositoryProvider repositoryProvider, AggregateFactory<T> aggregateFactory, SnapshotTriggerDefinition snapshotTriggerDefinition, ParameterResolverFactory parameterResolverFactory, HandlerDefinition handlerDefinition) Create a repository instance for an aggregate created by the givenaggregateFactory.<T> Repository<T> DisruptorCommandBus.createRepository(EventStore eventStore, AggregateFactory<T> aggregateFactory, SnapshotTriggerDefinition snapshotTriggerDefinition, ParameterResolverFactory parameterResolverFactory, HandlerDefinition handlerDefinition, RepositoryProvider repositoryProvider) Creates a repository instance for an Event Sourced aggregate, sourced from giveneventStore, that is created by the givenaggregateFactory.<T> Repository<T> DisruptorCommandBus.createRepository(EventStore eventStore, AggregateFactory<T> aggregateFactory, SnapshotTriggerDefinition snapshotTriggerDefinition, RepositoryProvider repositoryProvider) Creates a repository instance for an Event Sourced aggregate, source from giveneventStore, that is created by the givenaggregateFactory.<T> Repository<T> DisruptorCommandBus.createRepository(EventStore eventStore, AggregateFactory<T> aggregateFactory, ParameterResolverFactory parameterResolverFactory, HandlerDefinition handlerDefinition, RepositoryProvider repositoryProvider) Creates a repository instance for an Event Sourced aggregate that is created by the givenaggregateFactoryand sourced from giveneventStore.<T> Repository<T> DisruptorCommandBus.createRepository(EventStore eventStore, AggregateFactory<T> aggregateFactory, RepositoryProvider repositoryProvider) Creates a repository instance for an Event Sourced aggregate that is created by the giveneventStoreandaggregateFactory. -
Uses of RepositoryProvider in org.axonframework.eventsourcing
Fields in org.axonframework.eventsourcing declared as RepositoryProviderModifier and TypeFieldDescriptionprotected RepositoryProviderEventSourcingRepository.Builder.repositoryProviderMethods in org.axonframework.eventsourcing with parameters of type RepositoryProviderModifier and TypeMethodDescriptionstatic <T> EventSourcedAggregate<T> EventSourcedAggregate.initialize(Callable<T> aggregateFactory, AggregateModel<T> inspector, EventBus eventBus, RepositoryProvider repositoryProvider, SnapshotTrigger snapshotTrigger) Initializes an EventSourcedAggregate instance using the givenaggregateFactory, based on the giveninspector, which publishes events to the giveneventBusand stores events in the giveneventStore.static <T> EventSourcedAggregate<T> EventSourcedAggregate.initialize(T aggregateRoot, AggregateModel<T> inspector, EventBus eventBus, RepositoryProvider repositoryProvider, SnapshotTrigger snapshotTrigger) Initializes an EventSourcedAggregate instance for the givenaggregateRoot, based on the giveninspector, which publishes events to the giveneventBus.static <T> EventSourcedAggregate<T> EventSourcedAggregate.reconstruct(T aggregateRoot, AggregateModel<T> model, long seqNo, boolean isDeleted, EventBus eventBus, RepositoryProvider repositoryProvider, SnapshotTrigger snapshotTrigger) Reconstructs an EventSourcedAggregate instance with givenaggregateRoot.AggregateCacheEntry.recreateAggregate(AggregateModel<T> model, EventStore eventStore, RepositoryProvider repositoryProvider, SnapshotTriggerDefinition snapshotTriggerDefinition) AggregateSnapshotter.Builder.repositoryProvider(RepositoryProvider repositoryProvider) Sets theRepositoryProviderprovided to the snapshot aggregates this snapshotter creates for correct instantiation.EventSourcingRepository.Builder.repositoryProvider(RepositoryProvider repositoryProvider) Sets theRepositoryProviderwhich services repositories for specific aggregate types.Constructors in org.axonframework.eventsourcing with parameters of type RepositoryProviderModifierConstructorDescriptionprotectedEventSourcedAggregate(AggregateModel<T> model, EventBus eventBus, RepositoryProvider repositoryProvider, SnapshotTrigger snapshotTrigger) Creates a new EventSourcedAggregate instance based on the givenmodel, which publishes events to the giveneventBus.protectedEventSourcedAggregate(T aggregateRoot, AggregateModel<T> model, EventBus eventBus, RepositoryProvider repositoryProvider, SnapshotTrigger snapshotTrigger) Initializes an Aggregate instance for the givenaggregateRoot, based on the givenmodel, which publishes events to the giveneventBus. -
Uses of RepositoryProvider in org.axonframework.modelling.command
Methods in org.axonframework.modelling.command with parameters of type RepositoryProviderModifier and TypeMethodDescriptionGenericJpaRepository.Builder.repositoryProvider(RepositoryProvider repositoryProvider) Sets theRepositoryProviderwhich services repositories for specific aggregate types. -
Uses of RepositoryProvider in org.axonframework.modelling.command.inspection
Methods in org.axonframework.modelling.command.inspection with parameters of type RepositoryProviderModifier and TypeMethodDescriptionstatic <T> AnnotatedAggregate<T> AnnotatedAggregate.initialize(Callable<T> aggregateFactory, AggregateModel<T> aggregateModel, EventBus eventBus, RepositoryProvider repositoryProvider) Initialize an aggregate created by the givenaggregateFactorywhich is described in the givenaggregateModel.static <T> AnnotatedAggregate<T> AnnotatedAggregate.initialize(Callable<T> aggregateFactory, AggregateModel<T> aggregateModel, EventBus eventBus, RepositoryProvider repositoryProvider, boolean generateSequences) Initialize an aggregate created by the givenaggregateFactorywhich is described in the givenaggregateModel.static <T> AnnotatedAggregate<T> AnnotatedAggregate.initialize(T aggregateRoot, AggregateModel<T> aggregateModel, EventBus eventBus, RepositoryProvider repositoryProvider) Initialize an aggregate with the givenaggregateRootwhich is described in the givenaggregateModel.Constructors in org.axonframework.modelling.command.inspection with parameters of type RepositoryProviderModifierConstructorDescriptionprotectedAnnotatedAggregate(AggregateModel<T> inspector, EventBus eventBus, RepositoryProvider repositoryProvider) Initialize an Aggregate instance for the givenaggregateRoot, described by the givenaggregateModelthat will publish events to the giveneventBus.protectedAnnotatedAggregate(T aggregateRoot, AggregateModel<T> model, EventBus eventBus, RepositoryProvider repositoryProvider) Initialize an Aggregate instance for the givenaggregateRoot, described by the givenaggregateModelthat will publish events to the giveneventBus. -
Uses of RepositoryProvider in org.axonframework.modelling.command.legacyjpa
Methods in org.axonframework.modelling.command.legacyjpa with parameters of type RepositoryProviderModifier and TypeMethodDescriptionGenericJpaRepository.Builder.repositoryProvider(RepositoryProvider repositoryProvider) Sets theRepositoryProviderwhich services repositories for specific aggregate types. -
Uses of RepositoryProvider in org.axonframework.spring.eventsourcing
Methods in org.axonframework.spring.eventsourcing with parameters of type RepositoryProviderModifier and TypeMethodDescriptionSpringAggregateSnapshotter.Builder.repositoryProvider(RepositoryProvider repositoryProvider) voidSpringAggregateSnapshotterFactoryBean.setRepositoryProvider(RepositoryProvider repositoryProvider) Sets repository provider in order to have possibility to spawn new aggregates from THE aggregate. -
Uses of RepositoryProvider in org.axonframework.test.aggregate
Methods in org.axonframework.test.aggregate with parameters of type RepositoryProviderModifier and TypeMethodDescriptionAggregateTestFixture.registerRepositoryProvider(RepositoryProvider repositoryProvider) FixtureConfiguration.registerRepositoryProvider(RepositoryProvider repositoryProvider) Registers repository provider with the fixture.