Uses of Interface
org.axonframework.eventsourcing.AggregateFactory
Packages that use AggregateFactory
Package
Description
Classes related to event sourcing.
-
Uses of AggregateFactory in org.axonframework.config
Methods in org.axonframework.config that return AggregateFactoryModifier and TypeMethodDescriptionAggregateConfiguration.aggregateFactory()Returns theAggregateFactorydefined in this configuration.AggregateConfigurer.aggregateFactory()default <A> AggregateFactory<A> Configuration.aggregateFactory(Class<A> aggregateType) Returns theAggregateFactoryconfigured for the givenaggregateType.Method parameters in org.axonframework.config with type arguments of type AggregateFactoryModifier and TypeMethodDescriptionAggregateConfigurer.configureAggregateFactory(Function<Configuration, AggregateFactory<A>> aggregateFactoryBuilder) Defines the factory to use to create new Aggregates instances of the type under configuration. -
Uses of AggregateFactory in org.axonframework.disruptor.commandhandling
Methods in org.axonframework.disruptor.commandhandling with parameters of type AggregateFactoryModifier 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 AggregateFactory in org.axonframework.eventsourcing
Classes in org.axonframework.eventsourcing that implement AggregateFactoryModifier and TypeClassDescriptionclassAbstract AggregateFactory implementation that is aware of snapshot events.classAggregate factory that uses a convention to create instances of aggregates.Methods in org.axonframework.eventsourcing that return AggregateFactoryModifier and TypeMethodDescriptionprotected AggregateFactory<?> AggregateSnapshotter.getAggregateFactory(Class<?> aggregateType) Returns the AggregateFactory registered for the givenaggregateType, ornullif no such AggregateFactory is known.EventSourcingRepository.getAggregateFactory()Returns the factory used by this repository.Methods in org.axonframework.eventsourcing with parameters of type AggregateFactoryModifier and TypeMethodDescriptionAggregateSnapshotter.Builder.aggregateFactories(AggregateFactory<?>... aggregateFactories) Sets theaggregateFactoriessupported by this snapshotter.EventSourcingRepository.Builder.aggregateFactory(AggregateFactory<T> aggregateFactory) Sets theAggregateFactoryused to create new Aggregate instances.protected voidAggregateSnapshotter.registerAggregateFactory(AggregateFactory<?> aggregateFactory) Registers the givenaggregateFactorywith this snapshotter.Method parameters in org.axonframework.eventsourcing with type arguments of type AggregateFactoryModifier and TypeMethodDescriptionAggregateSnapshotter.Builder.aggregateFactories(List<AggregateFactory<?>> aggregateFactories) Sets theaggregateFactoriessupported by this snapshotter. -
Uses of AggregateFactory in org.axonframework.spring.eventsourcing
Classes in org.axonframework.spring.eventsourcing that implement AggregateFactoryModifier and TypeClassDescriptionclassAnAggregateFactoryimplementation that uses Spring prototype beans to create new uninitialized instances of Aggregates.Methods in org.axonframework.spring.eventsourcing that return AggregateFactoryModifier and TypeMethodDescriptionprotected AggregateFactory<?> SpringAggregateSnapshotter.getAggregateFactory(Class<?> aggregateType) -
Uses of AggregateFactory in org.axonframework.test.aggregate
Methods in org.axonframework.test.aggregate with parameters of type AggregateFactoryModifier and TypeMethodDescriptionAggregateTestFixture.registerAggregateFactory(AggregateFactory<T> aggregateFactory) FixtureConfiguration.registerAggregateFactory(AggregateFactory<T> aggregateFactory) Registers the givenaggregateFactorywith the fixture.