Package | Description |
---|---|
org.axonframework.commandhandling.annotation |
Classes that provide annotation support for command handling.
|
org.axonframework.commandhandling.disruptor | |
org.axonframework.contextsupport.spring | |
org.axonframework.eventsourcing |
Classes related to event sourcing.
|
org.axonframework.quickstart.handler | |
org.axonframework.repository |
Classes related to the repository interface and implementations.
|
org.axonframework.test |
Classes in support of testing Axon based applications.
|
Modifier and Type | Method and Description |
---|---|
void |
AggregateAnnotationCommandHandlerFactoryBean.setRepository(Repository<T> repository)
The repository from which to load aggregate instances.
|
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 EventSourcedAggregateRoot> |
DisruptorCommandBus.createRepository(AggregateFactory<T> aggregateFactory)
Creates a repository instance for an Event Sourced aggregate that is created by the given
aggregateFactory . |
<T extends EventSourcedAggregateRoot> |
DisruptorCommandBus.createRepository(AggregateFactory<T> aggregateFactory,
EventStreamDecorator decorator)
Creates a repository instance for an Event Sourced aggregate that is created by the given
aggregateFactory . |
<T extends EventSourcedAggregateRoot> |
CommandHandlerInvoker.createRepository(AggregateFactory<T> aggregateFactory,
EventStreamDecorator decorator)
Create a repository instance for an aggregate created by the given
aggregateFactory . |
Modifier and Type | Method and Description |
---|---|
Repository |
DisruptorCommandBusBeanDefinitionParser.RepositoryFactoryBean.getObject() |
Modifier and Type | Class and Description |
---|---|
class |
CachingEventSourcingRepository<T extends EventSourcedAggregateRoot>
Implementation of the event sourcing repository that uses a cache to improve loading performance.
|
class |
EventSourcingRepository<T extends EventSourcedAggregateRoot>
Abstract repository implementation that allows easy implementation of an Event Sourcing mechanism.
|
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.
|
Constructor and Description |
---|
CreateToDoCommandHandler(Repository<ToDoItem> repository) |
MarkCompletedCommandHandler(Repository<ToDoItem> repository) |
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 |
---|---|
Repository<T> |
GivenWhenThenTestFixture.getRepository() |
Repository<T> |
FixtureConfiguration.getRepository()
Returns the repository used by this fixture.
|
Copyright © 2010-2014. All Rights Reserved.