Uses of Interface
org.axonframework.modelling.command.Repository
Packages that use Repository
Package
Description
Classes related to event sourcing.
-
Uses of Repository in org.axonframework.config
Methods in org.axonframework.config that return RepositoryModifier and TypeMethodDescriptionAggregateConfiguration.repository()Returns the repository defined to load instances of the Aggregate type defined in this configuration.AggregateConfigurer.repository()default <A> Repository<A> Configuration.repository(Class<A> aggregateType) Returns theRepositoryconfigured for the givenaggregateType.Method parameters in org.axonframework.config with type arguments of type RepositoryModifier and TypeMethodDescriptionAggregateConfigurer.configureRepository(Function<Configuration, Repository<A>> repositoryBuilder) Defines the repository to use to load and store Aggregates of this type. -
Uses of Repository in org.axonframework.disruptor.commandhandling
Methods in org.axonframework.disruptor.commandhandling that return RepositoryModifier and TypeMethodDescription<T> Repository<T> CommandHandlerInvoker.createRepository(EventStore eventStore, AggregateFactory<T> aggregateFactory, SnapshotTriggerDefinition snapshotTriggerDefinition, ParameterResolverFactory parameterResolverFactory) Create a repository instance for an aggregate created by the givenaggregateFactory.<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) Creates a repository instance for an Event Sourced aggregate that is created by the giveneventStoreandaggregateFactory.<T> Repository<T> DisruptorCommandBus.createRepository(EventStore eventStore, AggregateFactory<T> aggregateFactory, SnapshotTriggerDefinition snapshotTriggerDefinition) 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, SnapshotTriggerDefinition snapshotTriggerDefinition, ParameterResolverFactory parameterResolverFactory) 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, 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) 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, 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 Repository in org.axonframework.eventsourcing
Classes in org.axonframework.eventsourcing that implement RepositoryModifier and TypeClassDescriptionclassImplementation of the event sourcing repository that uses a cache to improve loading performance.classAbstract repository implementation that allows easy implementation of an Event Sourcing mechanism. -
Uses of Repository in org.axonframework.modelling.command
Classes in org.axonframework.modelling.command that implement RepositoryModifier and TypeClassDescriptionclassAbstractRepository<T,A extends Aggregate<T>> Abstract implementation of theRepositorythat takes care of the dispatching of events when an aggregate is persisted.classGeneric repository implementation that stores JPA annotated aggregates.classLockingRepository<T,A extends Aggregate<T>> Implementation of the Repository interface that takes provides a locking mechanism to prevent concurrent modifications of persisted aggregates.Methods in org.axonframework.modelling.command that return RepositoryModifier and TypeMethodDescription<T> Repository<T> RepositoryProvider.repositoryFor(Class<T> aggregateType) Provides a repository for given aggregate type.Methods in org.axonframework.modelling.command with parameters of type RepositoryModifier and TypeMethodDescriptionAggregateAnnotationCommandHandler.Builder.repository(Repository<T> repository) Sets theRepositoryused to add and load Aggregate instances of generic typeTupon handling commands for it. -
Uses of Repository in org.axonframework.modelling.command.legacyjpa
Classes in org.axonframework.modelling.command.legacyjpa that implement Repository -
Uses of Repository in org.axonframework.spring.config
Methods in org.axonframework.spring.config that return RepositoryModifier and TypeMethodDescriptionRepositoryFactoryBean.getObject()Deprecated.<T> Repository<T> AxonConfiguration.repository(Class<T> aggregateType) Deprecated.static <T> Repository<T> BeanHelper.repository(Class<T> aggregateType, Configuration configuration) -
Uses of Repository in org.axonframework.spring.modelling
Methods in org.axonframework.spring.modelling that return Repository -
Uses of Repository in org.axonframework.test.aggregate
Methods in org.axonframework.test.aggregate that return RepositoryModifier and TypeMethodDescriptionAggregateTestFixture.getRepository()FixtureConfiguration.getRepository()Returns the repository used by this fixture.Methods in org.axonframework.test.aggregate with parameters of type RepositoryModifier and TypeMethodDescriptionAggregateTestFixture.registerRepository(Repository<T> repository) FixtureConfiguration.registerRepository(Repository<T> repository) Registers an arbitraryrepositorywith the fixture.
GenericJpaRepositorywhich moved to jakarta.