Package | Description |
---|---|
org.axonframework.commandhandling.disruptor | |
org.axonframework.contextsupport.spring | |
org.axonframework.eventsourcing |
Classes related to event sourcing.
|
org.axonframework.eventsourcing.annotation | |
org.axonframework.quickstart.annotated | |
org.axonframework.test |
Classes in support of testing Axon based applications.
|
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 . |
static <T extends EventSourcedAggregateRoot> |
CommandHandlerInvoker.getRepository(String typeIdentifier)
Returns the Repository instance for Aggregate with given
typeIdentifier used by the
CommandHandlerInvoker that is running on the current thread. |
Modifier and Type | Method and Description |
---|---|
EventSourcedAggregateRoot |
DisruptorUnitOfWork.getAggregate()
Returns the identifier of the aggregate modified in this UnitOfWork.
|
Modifier and Type | Method and Description |
---|---|
void |
DisruptorCommandBusBeanDefinitionParser.RepositoryFactoryBean.setAggregateFactory(AggregateFactory<? extends EventSourcedAggregateRoot> factory)
Sets the aggregate factory used to create instances for the repository to create.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractAggregateFactory<T extends EventSourcedAggregateRoot>
Abstract AggregateFactory implementation that is aware of snapshot events.
|
interface |
AggregateFactory<T extends EventSourcedAggregateRoot>
Interface describing objects capable of creating instances of aggregates to be initialized with an event stream.
|
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 |
GenericAggregateFactory<T extends EventSourcedAggregateRoot>
Aggregate factory that uses a convention to create instances of aggregates.
|
class |
SpringPrototypeAggregateFactory<T extends EventSourcedAggregateRoot>
AggregateFactory implementation that uses Spring prototype beans to create new uninitialized instances of
Aggregates.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractEventSourcedAggregateRoot<I>
Abstract convenience class to be extended by all aggregate roots.
|
Modifier and Type | Method and Description |
---|---|
DomainEventStream |
EventStreamDecorator.decorateForAppend(String aggregateType,
EventSourcedAggregateRoot aggregate,
DomainEventStream eventStream)
Called when an event stream is appended to the event store.
|
DomainEventStream |
EventCountSnapshotterTrigger.decorateForAppend(String aggregateType,
EventSourcedAggregateRoot aggregate,
DomainEventStream eventStream) |
DomainEventStream |
CompositeEventStreamDecorator.decorateForAppend(String aggregateType,
EventSourcedAggregateRoot aggregate,
DomainEventStream eventStream) |
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 | Interface and Description |
---|---|
interface |
FixtureConfiguration<T extends EventSourcedAggregateRoot>
Interface describing the operations available on a test fixture in the configuration stage.
|
class |
GivenWhenThenTestFixture<T extends EventSourcedAggregateRoot>
A test fixture that allows the execution of given-when-then style test cases.
|
Modifier and Type | Method and Description |
---|---|
static <T extends EventSourcedAggregateRoot> |
Fixtures.newGivenWhenThenFixture(Class<T> aggregateType)
Returns a new given-when-then style test fixture in configuration mode.
|
Copyright © 2010-2014. All Rights Reserved.