Package org.axonframework.eventsourcing.handler
@NullMarked
package org.axonframework.eventsourcing.handler
Package for the sourcing handler API.
-
ClassDescriptionDefines the lifecycle operations for an event-sourced entity.Combines an
EventSourcedEntityFactoryand anEntityEvolverto ensure an entity exists and apply state transitions.A simple implementation ofEntityLifecycleHandlerthat reconstructs an entity by sourcing events directly from anEventStore.AnEntityLifecycleHandlerimplementation that reconstructs an entity from theEventStore, using snapshots to improve efficiency when available.SourcingHandler<I,E> Handles the sourcing of an entity from its historical event stream.