Package org.axonframework.eventsourcing.handler
@NullMarked
package org.axonframework.eventsourcing.handler
Package for the sourcing handler API.
-
ClassDescriptionCombines an
EventSourcedEntityFactoryand anEntityEvolverto ensure an entity exists and apply state transitions.A simple implementation ofSourcingHandlerthat reconstructs an entity by sourcing events directly from anEventStore.ASourcingHandlerimplementation that reconstructs an entity using snapshots when available, falling back to a full sourcing of events from theEventStoreif necessary.SourcingHandler<I,E> Handles the sourcing of an entity from its historical event stream.