| Package | Description |
|---|---|
| org.axonframework.modelling.command |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractRepository<T,A extends Aggregate<T>>
Abstract implementation of the
Repository that takes care of the dispatching of events when an aggregate is
persisted. |
class |
GenericJpaRepository<T>
Generic repository implementation that stores JPA annotated aggregates.
|
class |
LockingRepository<T,A extends Aggregate<T>>
Implementation of the Repository interface that takes provides a locking mechanism to prevent concurrent
modifications of persisted aggregates.
|
| Modifier and Type | Method and Description |
|---|---|
<T> Repository<T> |
RepositoryProvider.repositoryFor(Class<T> aggregateType)
Provides a repository for given aggregate type.
|
| Modifier and Type | Method and Description |
|---|---|
AggregateAnnotationCommandHandler.Builder<T> |
AggregateAnnotationCommandHandler.Builder.repository(Repository<T> repository)
Sets the
Repository used to add and load Aggregate instances of generic type T upon handling
commands for it. |
Copyright © 2010–2022. All rights reserved.