Package org.axonframework.eventsourcing

Classes related to event sourcing.

See:
          Description

Interface Summary
AggregateFactory<T extends EventSourcedAggregateRoot> Interface describing objects capable of creating instances of aggregates to be initialized with an event stream.
ConflictResolver Interface describing an object that is capable of detecting conflicts between changes applied to an aggregate, and unseen changes made to the aggregate.
EventSourcedAggregateRoot Aggregate that can be initialized using a DomainEventStream.
EventStreamDecorator Interface describing a class that can decorates DomainEventStreams when events for aggregates are read or appended.
Snapshotter Interface describing a instances that are capable of creating snapshot events for aggregates.
SnapshotterTrigger Interface for Event Stream Decorators that have the intent to trigger snapshots.
 

Class Summary
AbstractEventSourcedAggregateRoot Abstract convenience class to be extended by all aggregate roots.
AbstractEventSourcedEntity Base class for Event Sourced entities that are not at the root of the aggregate.
AbstractSnapshotter Abstract implementation of the Snapshotter that uses a task executor to creates snapshots.
AggregateSnapshot<T extends EventSourcedAggregateRoot> Snapshot event that captures the entire aggregate.
AggregateSnapshotter Implementation of a snapshotter that uses the actual aggregate and its state to create a snapshot event.
CachingEventSourcingRepository<T extends EventSourcedAggregateRoot> Implementation of the event sourcing repository that uses a cache to improve loading performance.
CachingGenericEventSourcingRepository<T extends EventSourcedAggregateRoot> The CachingGenericEventSourcingRepository is a special EventSourcingRepository implementation that can act as a repository for any type of EventSourcedAggregateRoot.
EventCountSnapshotterTrigger Snapshotter trigger mechanism that counts the number of events to decide when to create a snapshot.
EventSourcingRepository<T extends EventSourcedAggregateRoot> Abstract repository implementation that allows easy implementation of an Event Sourcing mechanism.
GenericAggregateFactory<T extends EventSourcedAggregateRoot> Aggregate factory that uses a convention to create instances of aggregates.
GenericEventSourcingRepository<T extends EventSourcedAggregateRoot> The GenericEventSourcingRepository is a special EventSourcingRepository implementation that can act as a repository for any type of EventSourcedAggregateRoot.
SpringAggregateSnapshotter Implementation of the AggregateSnapshotter that eases the configuration when used within a Spring Application Context.
SpringPrototypeEventSourcingRepository<T extends EventSourcedAggregateRoot> Repository implementation that creates and initializes aggregates based on a Spring prototype bean.
 

Exception Summary
AggregateDeletedException Special case of the AggregateNotFoundException that indicates that historic information of an aggregate was found, but the aggregate has been deleted.
IncompatibleAggregateException Exception indicating that an aggregate was not compatible with the requirements of the GenericEventSourcingRepository.
 

Package org.axonframework.eventsourcing Description

Classes related to event sourcing. This includes repositories that use event stores to store and load events, as well as the aggregates that support state reconstruction based on event streams.



Copyright © 2011. All Rights Reserved.