Package org.axonframework.modelling
package org.axonframework.modelling
-
ClassDescriptionException indicating that concurrent access to a repository was detected.Functional interface describing how to evolve a given
entityof typeebased on a givenEventMessage.Interface describing a group ofEntityEvolversbelonging to a single entity of typeE, forming an entity that can evolve its state based on the events it receives.Thrown when anEntityIdResolverwas unable to determine an id from a given payload.EntityIdResolver<ID>Resolver for the id of an entity.StateManagerthat can load an entity from two delegates, giving preference to the child delegate and then the parent.ConfigurationEnhancerthat registers a decorator for theStateManagerthat, when a parent configuration is present, wraps child and parentStateManagerin aHierarchicalStateManagerthat delegates to the parent if a state cannot be resolved by the current configuration.Exception thrown by theStateManagerwhen the loaded entity from theRepositoryis not assignable to the expected type.Exception thrown by theStateManagerwhen noRepositoryis registered for a given state type.AnEntityEvolverimplementation that converts theMessage.payload()to the givenpayloadTypeto evolve an entity with.Implementation of aEntityIdResolverthat inspects the payload of aMessagefor an identifier.Exception thrown by theStateManagerwhen trying to register anRepositoryfor a combination of entity type and id type for which a repository was already registered.Implementation ofEntityEvolvingComponentthat evolves a givenentityof typeEby searching a specificEntityEvolverbased on theQualifiedNamein theevent's type.Simple implementation of theStateManager.Exception thrown when an error occurs while evolving an entity with an event.TheStateManagerenables applications to load entities based on the type of the entity and an id, and to persist them.