Package | Description |
---|---|
org.axonframework.eventsourcing |
Classes related to event sourcing.
|
org.axonframework.modelling.command |
Modifier and Type | Class and Description |
---|---|
static class |
EventSourcingRepository.Builder<T>
Builder class to instantiate a
EventSourcingRepository . |
Modifier and Type | Class and Description |
---|---|
static class |
GenericJpaRepository.Builder<T>
Builder class to instantiate a
GenericJpaRepository for aggregate type T . |
protected static class |
LockingRepository.Builder<T>
Abstract Builder class to instantiate
LockingRepository implementations. |
Modifier and Type | Method and Description |
---|---|
AbstractRepository.Builder<T> |
AbstractRepository.Builder.aggregateModel(AggregateModel<T> aggregateModel)
Sets the
AggregateModel of generic type T , describing the structure of the aggregate this
Repository will store. |
AbstractRepository.Builder<T> |
AbstractRepository.Builder.handlerDefinition(HandlerDefinition handlerDefinition)
Sets the
HandlerDefinition used to create concrete handlers for the given aggregateType . |
AbstractRepository.Builder<T> |
AbstractRepository.Builder.parameterResolverFactory(ParameterResolverFactory parameterResolverFactory)
Sets the
ParameterResolverFactory used to resolve parameters for annotated handlers contained in the
Aggregate. |
Constructor and Description |
---|
AbstractRepository(AbstractRepository.Builder<T> builder)
Instantiate a
AbstractRepository based on the fields contained in the AbstractRepository.Builder . |
Copyright © 2010–2022. All rights reserved.