Package | Description |
---|---|
org.axonframework.config | |
org.axonframework.disruptor.commandhandling | |
org.axonframework.eventsourcing |
Classes related to event sourcing.
|
org.axonframework.spring.eventsourcing | |
org.axonframework.test.aggregate |
Modifier and Type | Method and Description |
---|---|
AggregateFactory<A> |
AggregateConfigurer.aggregateFactory() |
AggregateFactory<A> |
AggregateConfiguration.aggregateFactory()
Returns the
AggregateFactory defined in this configuration. |
default <A> AggregateFactory<A> |
Configuration.aggregateFactory(Class<A> aggregateType)
Returns the
AggregateFactory configured for the given aggregateType . |
Modifier and Type | Method and Description |
---|---|
AggregateConfigurer<A> |
AggregateConfigurer.configureAggregateFactory(Function<Configuration,AggregateFactory<A>> aggregateFactoryBuilder)
Defines the factory to use to create new Aggregates instances of the type under configuration.
|
Modifier and Type | Method and Description |
---|---|
<T> Repository<T> |
DisruptorCommandBus.createRepository(EventStore eventStore,
AggregateFactory<T> aggregateFactory)
Creates a repository instance for an Event Sourced aggregate that is created by the given
eventStore and
aggregateFactory . |
<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 given
aggregateFactory and sourced from given eventStore . |
<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 given
aggregateFactory and sourced from given eventStore . |
<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 given
eventStore and
aggregateFactory . |
<T> Repository<T> |
DisruptorCommandBus.createRepository(EventStore eventStore,
AggregateFactory<T> aggregateFactory,
SnapshotTriggerDefinition snapshotTriggerDefinition)
Creates a repository instance for an Event Sourced aggregate, source from given
eventStore , that is
created by the given aggregateFactory . |
<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 given
eventStore , that is
created by the given aggregateFactory . |
<T> Repository<T> |
CommandHandlerInvoker.createRepository(EventStore eventStore,
AggregateFactory<T> aggregateFactory,
SnapshotTriggerDefinition snapshotTriggerDefinition,
ParameterResolverFactory parameterResolverFactory)
Create a repository instance for an aggregate created by the given
aggregateFactory . |
<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 given
eventStore , that is
created by the given aggregateFactory . |
<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 given
eventStore , that is
created by the given aggregateFactory . |
<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 given
aggregateFactory . |
Modifier and Type | Class and Description |
---|---|
class |
AbstractAggregateFactory<T>
Abstract AggregateFactory implementation that is aware of snapshot events.
|
class |
GenericAggregateFactory<T>
Aggregate factory that uses a convention to create instances of aggregates.
|
Modifier and Type | Method and Description |
---|---|
AggregateFactory<T> |
EventSourcingRepository.getAggregateFactory()
Returns the factory used by this repository.
|
protected AggregateFactory<?> |
AggregateSnapshotter.getAggregateFactory(Class<?> aggregateType)
Returns the AggregateFactory registered for the given
aggregateType , or null if no such
AggregateFactory is known. |
Modifier and Type | Method and Description |
---|---|
AggregateSnapshotter.Builder |
AggregateSnapshotter.Builder.aggregateFactories(AggregateFactory<?>... aggregateFactories)
Sets the
aggregateFactories supported by this snapshotter. |
EventSourcingRepository.Builder<T> |
EventSourcingRepository.Builder.aggregateFactory(AggregateFactory<T> aggregateFactory)
Sets the
AggregateFactory used to create new Aggregate instances. |
protected void |
AggregateSnapshotter.registerAggregateFactory(AggregateFactory<?> aggregateFactory)
Registers the given
aggregateFactory with this snapshotter. |
Modifier and Type | Method and Description |
---|---|
AggregateSnapshotter.Builder |
AggregateSnapshotter.Builder.aggregateFactories(List<AggregateFactory<?>> aggregateFactories)
Sets the
aggregateFactories supported by this snapshotter. |
Modifier and Type | Class and Description |
---|---|
class |
SpringPrototypeAggregateFactory<T>
AggregateFactory implementation that uses Spring prototype beans to create new uninitialized instances of
Aggregates.
|
Modifier and Type | Method and Description |
---|---|
protected AggregateFactory<?> |
SpringAggregateSnapshotter.getAggregateFactory(Class<?> aggregateType) |
Modifier and Type | Method and Description |
---|---|
FixtureConfiguration<T> |
FixtureConfiguration.registerAggregateFactory(AggregateFactory<T> aggregateFactory)
Registers the given
aggregateFactory with the fixture. |
FixtureConfiguration<T> |
AggregateTestFixture.registerAggregateFactory(AggregateFactory<T> aggregateFactory) |
Copyright © 2010–2023. All rights reserved.