Uses of Interface
org.axonframework.modelling.command.RepositoryProvider
Packages that use RepositoryProvider
Package
Description
-
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, org.axonframework.eventhandling.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, org.axonframework.eventhandling.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, org.axonframework.eventhandling.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, org.axonframework.eventhandling.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, org.axonframework.eventhandling.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.