Package org.axonframework.eventsourcing
package org.axonframework.eventsourcing
Classes related to event sourcing. This includes repositories that use event stores to store and load events, as
well as the aggregates that support state reconstruction based on event streams.
-
ClassDescriptionFunctional interface describing a resolver of an
EventCriteriabased on an identifier of typeI.Exception thrown by theEventSourcedEntityFactorywhen the entity returned byisinvalid reference
EventSourcedEntityFactory#create(Object, EventMessage)nullwhen calling it with a non-nullfirstEventMessageduring theEventSourcingRepository.load(Object, ProcessingContext)orEventSourcingRepository.loadOrCreate(Object, ProcessingContext).Exception thrown by theEventSourcedEntityFactorywhen the entity returned byisinvalid reference
EventSourcedEntityFactory#create(Object, EventMessage)nullwhen calling it with anullfirstEventMessageduring theEventSourcingRepository.loadOrCreate(Object, ProcessingContext).Defines how anEventSourcingRepositoryshould construct an entity of typeE.EventSourcingRepository<ID,E> Repositoryimplementation that loads entities based on their historic event streams, provided by anEventStore.