play

protected A play(I id, AggregateHistory history)

Plays the given Aggregate history for an instance of Aggregate with the given ID.

Return

an instance of Aggregate

Parameters

id

the ID of the Aggregate to load

history

the state record of the Aggregate to load