Class EventSourcingRepository<T>

Type Parameters:
T - The type of aggregate this repository stores
All Implemented Interfaces:
ScopeAware, Repository<T>
Direct Known Subclasses:
CachingEventSourcingRepository

public class EventSourcingRepository<T> extends LockingRepository<T,EventSourcedAggregate<T>>
Abstract repository implementation that allows easy implementation of an Event Sourcing mechanism. It will automatically publish new events to the given EventBus and delegate event storage to the provided EventStore.
Since:
0.1
Author:
Allard Buijze
See Also: