Package org.axonframework.modelling.saga
@NullMarked
package org.axonframework.modelling.saga
Association values, the means by which an event is correlated to the saga instances that should handle it.
An AssociationValue is a key-value pair that a saga registers itself under;
AssociationValues tracks a saga's current set together with the additions
and removals made since it was last stored, which is what a
SagaStore persists.
These types carry the Axon Framework 4 API unchanged, to ease migration of projects that cannot move off it in one go.
-
ClassDescriptionAbstract implementation of the SagaManager interface that provides basic functionality required by most SagaManager implementations.Abstract Builder class to instantiate
AbstractSagaManagerimplementations.Implementation of theinterfacethat allows for a POJO instance with annotated message handlers to act as a Saga.Implementation of the SagaManager that uses annotations on the Sagas to describe the lifecycle management.Builder class to instantiate aAnnotatedSagaManager.Used to derive the value of an association property as designated by the association property name.A combination of key and value by which a Saga can be found.Interface describing a container ofAssociation Valuesfor a single saga instance.Default implementation of the AssociationValues interface.Indicates that the annotatedSagaEventHandlermethod indicates the end of a Saga instance's lifecycle.AHandlerEnhancerDefinitioninspecting the existence of theEndSagaannotation onMessageHandlingMembers.AWrappedMessageHandlingMemberimplementation dedicated towardsMessageHandlingMembers annotated withEndSaga.Used to derive the value of an association property by looking it up the event message'sMetadata.Used to derive the value of an association property by looking it up the event message's payload.Saga<T>Interface describing an implementation of a Saga.Enumeration containing the possible Creation Policies for Sagas.Method-level annotation indicating that the annotated method is an event handler method for the saga instance.Exception triggered by a saga while it is processing an event or processing a task.Describes the conditions under which a Saga should be created, and which AssociationValue it should be initialized with.Exception triggered during initialization of a Saga.Component giving a Saga's event handler methods access to lifecycle operations, such as managingAssociationValuesand ending the Saga.ParameterResolverFactorythat resolves theSagaLifecycleregistered on theProcessingContextfor any@SagaEventHandlermethod that declares aSagaLifecycle-typed parameter.Utility class that inspects annotation on a Saga instance and returns the relevant configuration for its Event Handlers.A data holder containing information ofSagaEventHandlerannotated methods.Interface towards the storage mechanism of Saga instances.Describes the scope of a Saga by means of its type and identifier.Exception indicating that an error has occurred while storing a Saga.Deprecated, for removal: This API element is subject to removal in a future version.
axon-legacymodule exists to let already-running Axon Framework 4 Sagas drain out, not to start new ones.