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. |
AbstractRepository.Builder<T> |
AbstractRepository.Builder.spanFactory(SpanFactory spanFactory)
Sets the
SpanFactory implementation to use for providing tracing capabilities. |
AbstractRepository.Builder<T> |
AbstractRepository.Builder.subtype(Class<? extends T> subtype)
Sets a subtype of the
aggregate type represented by this Repository . |
AbstractRepository.Builder<T> |
AbstractRepository.Builder.subtypes(Set<Class<? extends T>> subtypes)
Sets the subtypes of the
aggregate type represented by this Repository . |
Constructor and Description |
---|
AbstractRepository(AbstractRepository.Builder<T> builder)
Instantiate a
AbstractRepository based on the fields contained in the AbstractRepository.Builder . |
Copyright © 2010–2023. All rights reserved.