| Package | Description |
|---|---|
| org.axonframework.eventsourcing |
Classes related to event sourcing.
|
| 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. |
Copyright © 2010–2024. All rights reserved.