Package org.axonframework.eventsourcing
@NullMarked
package org.axonframework.eventsourcing
Root package for Axon Eventsourcing. Provides support for Event Sourcing,
storing application state as a sequence of immutable events.
-
ClassDescriptionFunctional interface describing a resolver of an
EventCriteriabased on an identifier of typeI.Exception thrown by theEventSourcedEntityFactorywhen the entity returned byEventSourcedEntityFactory.create(Object, EventMessage, ProcessingContext)isnullwhen calling it with a non-nullfirstEventMessageduring theEventSourcingRepository.load(Object, ProcessingContext)orEventSourcingRepository.loadOrCreate(Object, ProcessingContext).Deprecated, for removal: This API element is subject to removal in a future version.Defines how anEventSourcingRepositoryshould construct an entity of typeE.EventSourcingRepository<ID,E> Repositoryimplementation which manages event-sourced entities and delegates lifecycle concerns (loading, initialization, snapshot handling, and live updates) to anEntityLifecycleHandler.
EntityNotFoundException, which more broadly serves anyRepositorybeing unable to find or> recreate an entity