| Package | Description |
|---|---|
| org.axonframework.modelling.command | |
| org.axonframework.modelling.command.inspection |
| Modifier and Type | Method and Description |
|---|---|
GenericJpaRepository.Builder<T> |
GenericJpaRepository.Builder.repositoryProvider(RepositoryProvider repositoryProvider)
Sets the
RepositoryProvider which services repositories for specific aggregate types. |
| Modifier and Type | Method and Description |
|---|---|
static <T> AnnotatedAggregate<T> |
AnnotatedAggregate.initialize(Callable<T> aggregateFactory,
AggregateModel<T> aggregateModel,
org.axonframework.eventhandling.EventBus eventBus,
RepositoryProvider repositoryProvider)
Initialize an aggregate created by the given
aggregateFactory which is described in the given aggregateModel. |
static <T> AnnotatedAggregate<T> |
AnnotatedAggregate.initialize(Callable<T> aggregateFactory,
AggregateModel<T> aggregateModel,
org.axonframework.eventhandling.EventBus eventBus,
RepositoryProvider repositoryProvider,
boolean generateSequences)
Initialize an aggregate created by the given
aggregateFactory which is described in the given aggregateModel. |
static <T> AnnotatedAggregate<T> |
AnnotatedAggregate.initialize(T aggregateRoot,
AggregateModel<T> aggregateModel,
org.axonframework.eventhandling.EventBus eventBus,
RepositoryProvider repositoryProvider)
Initialize an aggregate with the given
aggregateRoot which is described in the given aggregateModel. |
| Constructor and Description |
|---|
AnnotatedAggregate(AggregateModel<T> inspector,
org.axonframework.eventhandling.EventBus eventBus,
RepositoryProvider repositoryProvider)
Initialize an Aggregate instance for the given
aggregateRoot, described by the given aggregateModel that will publish events to the given eventBus. |
AnnotatedAggregate(T aggregateRoot,
AggregateModel<T> model,
org.axonframework.eventhandling.EventBus eventBus,
RepositoryProvider repositoryProvider)
Initialize an Aggregate instance for the given
aggregateRoot, described by the given aggregateModel that will publish events to the given eventBus. |
Copyright © 2010–2022. All rights reserved.