Class AggregateSnapshotter

java.lang.Object
org.axonframework.eventsourcing.AbstractSnapshotter
org.axonframework.eventsourcing.AggregateSnapshotter
All Implemented Interfaces:
Snapshotter
Direct Known Subclasses:
SpringAggregateSnapshotter

public class AggregateSnapshotter extends AbstractSnapshotter
Implementation of a snapshotter that uses the actual aggregate and its state to create a snapshot event. The motivation is that an aggregate always contains all relevant state. Therefore, storing the aggregate itself inside an event should capture all necessary information.
Since:
0.6
Author:
Allard Buijze