See: Description
Interface | Description |
---|---|
LockManager |
Interface to the lock manager.
|
Repository<T> |
The repository provides an abstraction of the storage of aggregates.
|
Class | Description |
---|---|
AbstractRepository<T extends AggregateRoot> |
Abstract implementation of the
Repository that takes care of the dispatching of events when an aggregate is
persisted. |
GenericJpaRepository<T extends AggregateRoot> |
Generic repository implementation that stores JPA annotated aggregates.
|
LockingRepository<T extends AggregateRoot> |
Implementation of the Repository interface that takes provides a locking mechanism to prevent concurrent
modifications of persisted aggregates.
|
NullLockManager |
LockManager implementation that does nothing.
|
OptimisticLockManager |
Implementation of the
LockManager that uses an optimistic locking strategy. |
PessimisticLockManager |
Implementation of the
LockManager that uses a pessimistic locking strategy. |
Exception | Description |
---|---|
AggregateNotFoundException |
Exception indicating that the an aggregate could not be found in the repository.
|
ConcurrencyException |
Exception indicating that concurrent access to a repository was detected.
|
ConflictingAggregateVersionException |
Exception indicating that the (actual) version of a loaded aggregate did not match the given expected version number.
|
ConflictingModificationException |
Root of a hierarchy of exceptions indicating the detection of conflicting concurrent modifications.
|
Copyright © 2010-2014. All Rights Reserved.