Package | Description |
---|---|
org.axonframework.commandhandling.annotation |
Classes that provide annotation support for command handling.
|
org.axonframework.commandhandling.disruptor | |
org.axonframework.domain |
The domain components of the Axon Framework, mainly the Aggregates and Events.
|
org.axonframework.eventsourcing |
Classes related to event sourcing.
|
org.axonframework.eventsourcing.annotation | |
org.axonframework.quickstart.annotated | |
org.axonframework.repository |
Classes related to the repository interface and implementations.
|
org.axonframework.unitofwork |
Classes in support of the UnitOfWork pattern in Axon Framework.
|
Modifier and Type | Class and Description |
---|---|
class |
AggregateAnnotationCommandHandler<T extends AggregateRoot>
Command handler that handles commands based on
CommandHandler
annotations on an aggregate. |
class |
AggregateAnnotationCommandHandlerFactoryBean<T extends AggregateRoot<?>>
Spring FactoryBean that creates an AggregateAnnotationCommandHandler instance.
|
class |
AggregateCommandHandlerInspector<T extends AggregateRoot>
Handler inspector that finds annotated constructors and methods on a given aggregate type and provides handlers for
those methods.
|
class |
ConstructorCommandMessageHandler<T extends AggregateRoot>
Command Handler that creates a new aggregate instance by invoking that aggregate's constructor.
|
Modifier and Type | Method and Description |
---|---|
static <T extends AggregateRoot> |
ConstructorCommandMessageHandler.forConstructor(Constructor<T> constructor,
ParameterResolverFactory parameterResolverFactory)
Creates a ConstructorCommandMessageHandler for the given
constructor . |
static <T extends AggregateRoot> |
AggregateAnnotationCommandHandler.subscribe(Class<T> aggregateType,
Repository<T> repository,
CommandBus commandBus)
Subscribe a handler for the given aggregate type to the given command bus.
|
static <T extends AggregateRoot> |
AggregateAnnotationCommandHandler.subscribe(Class<T> aggregateType,
Repository<T> repository,
CommandBus commandBus,
CommandTargetResolver commandTargetResolver)
Subscribe a handler for the given aggregate type to the given command bus.
|
Modifier and Type | Method and Description |
---|---|
<T extends AggregateRoot> |
DisruptorUnitOfWork.registerAggregate(T aggregateRoot,
EventBus eventBus,
SaveAggregateCallback<T> saveAggregateCallback) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractAggregateRoot<I>
Very basic implementation of the AggregateRoot interface.
|
Modifier and Type | Class and Description |
---|---|
class |
HybridJpaRepository<T extends AggregateRoot>
Repository that stores both a (JPA based) relational model of the current state of an aggregate and the events
produced by that aggregate.
|
Modifier and Type | Interface and Description |
---|---|
interface |
EventSourcedAggregateRoot<I>
Aggregate that can be initialized using a
DomainEventStream . |
Modifier and Type | Class and Description |
---|---|
class |
AbstractEventSourcedAggregateRoot<I>
Abstract convenience class to be extended by all aggregate roots.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractAnnotatedAggregateRoot<I>
Convenience super type for aggregate roots that have their event handler methods annotated with the
EventSourcingHandler annotation (and EventHandler for backwards compatibility). |
Modifier and Type | Class and Description |
---|---|
class |
ToDoItem |
Modifier and Type | Class and Description |
---|---|
class |
AbstractRepository<T extends AggregateRoot>
Abstract implementation of the
Repository that takes care of the dispatching of events when an aggregate is
persisted. |
class |
GenericJpaRepository<T extends AggregateRoot>
Generic repository implementation that stores JPA annotated aggregates.
|
class |
LockingRepository<T extends AggregateRoot>
Implementation of the Repository interface that takes provides a locking mechanism to prevent concurrent
modifications of persisted aggregates.
|
Modifier and Type | Method and Description |
---|---|
boolean |
PessimisticLockManager.validateLock(AggregateRoot aggregate)
Make sure that the current thread holds a valid lock for the given aggregate.
|
boolean |
OptimisticLockManager.validateLock(AggregateRoot aggregate)
Make sure that the current thread holds a valid lock for the given aggregate.
|
boolean |
NullLockManager.validateLock(AggregateRoot aggregate)
Make sure that the current thread holds a valid lock for the given aggregate.
|
boolean |
LockManager.validateLock(AggregateRoot aggregate)
Make sure that the current thread holds a valid lock for the given aggregate.
|
Modifier and Type | Interface and Description |
---|---|
interface |
SaveAggregateCallback<T extends AggregateRoot>
Callback used by UnitOfWork instances to be invoked when the UnitOfWork wishes to store an aggregate.
|
Modifier and Type | Method and Description |
---|---|
<T extends AggregateRoot> |
UnitOfWork.registerAggregate(T aggregateRoot,
EventBus eventBus,
SaveAggregateCallback<T> saveAggregateCallback)
Register an aggregate with this UnitOfWork.
|
<T extends AggregateRoot> |
DefaultUnitOfWork.registerAggregate(T aggregate,
EventBus eventBus,
SaveAggregateCallback<T> saveAggregateCallback) |
Modifier and Type | Method and Description |
---|---|
void |
UnitOfWorkListenerCollection.onPrepareCommit(UnitOfWork unitOfWork,
Set<AggregateRoot> aggregateRoots,
List<EventMessage> events)
Invoked before aggregates are committed, and before any events are published.
|
void |
UnitOfWorkListenerAdapter.onPrepareCommit(UnitOfWork unitOfWork,
Set<AggregateRoot> aggregateRoots,
List<EventMessage> events)
Invoked before aggregates are committed, and before any events are published.
|
void |
UnitOfWorkListener.onPrepareCommit(UnitOfWork unitOfWork,
Set<AggregateRoot> aggregateRoots,
List<EventMessage> events)
Invoked before aggregates are committed, and before any events are published.
|
void |
MetaDataMutatingUnitOfWorkListenerAdapter.onPrepareCommit(UnitOfWork unitOfWork,
Set<AggregateRoot> aggregateRoots,
List<EventMessage> events) |
Copyright © 2010-2014. All Rights Reserved.