Uses of Class
org.axonframework.modelling.saga.AssociationValue
Packages that use AssociationValue
Package
Description
Association values, the means by which an event is correlated to the saga instances that should handle it.
Meta-model support for describing the structure and event handling capabilities of Axon Framework 4 style
annotated Sagas.
The
SagaStore abstraction and the decorators over it.An in-memory
SagaStore, for testing and for sagas whose state
need not outlive the JVM.A JDBC-backed
SagaStore, together with the SQL dialects it can
speak.A JPA-backed
SagaStore, storing sagas as
SagaEntry rows and their associations as
AssociationValueEntry rows.-
Uses of AssociationValue in org.axonframework.extensions.mongo.eventhandling.saga.repository
Methods in org.axonframework.extensions.mongo.eventhandling.saga.repository that return types with arguments of type AssociationValueModifier and TypeMethodDescriptionSagaEntry.getAssociationValues()Get a set of all the Saga's associations.Methods in org.axonframework.extensions.mongo.eventhandling.saga.repository with parameters of type AssociationValueModifier and TypeMethodDescriptionMongoSagaStore.findSagas(Class<?> sagaType, AssociationValue associationValue) Method parameters in org.axonframework.extensions.mongo.eventhandling.saga.repository with type arguments of type AssociationValueModifier and TypeMethodDescriptionvoidMongoSagaStore.deleteSaga(Class<?> sagaType, String sagaIdentifier, Set<AssociationValue> associationValues) voidMongoSagaStore.insertSaga(Class<?> sagaType, String sagaIdentifier, Object saga, Set<AssociationValue> associationValues) Constructor parameters in org.axonframework.extensions.mongo.eventhandling.saga.repository with type arguments of type AssociationValue -
Uses of AssociationValue in org.axonframework.modelling.saga
Methods in org.axonframework.modelling.saga that return AssociationValueModifier and TypeMethodDescriptionSagaMethodMessageHandlingMember.getAssociationValue(EventMessage eventMessage) The AssociationValue to find the saga instance with, ornullif no AssociationValue can be found on the giveneventMessage.SagaInitializationPolicy.getInitialAssociationValue()Returns the initial association value for a newly created saga.Methods in org.axonframework.modelling.saga that return types with arguments of type AssociationValueModifier and TypeMethodDescriptionAssociationValues.addedAssociations()Returns the Set of association values that have been added since the lastAssociationValues.commit().AssociationValuesImpl.addedAssociations()AssociationValues.asSet()Returns this instance as a Set of Association Values.AssociationValuesImpl.asSet()AnnotatedSaga.associationValues()SagaLifecycle.associationValues()Retrieves theAssociationValuesthat have been associated with the current Saga so far.protected abstract Set<AssociationValue> AbstractSagaManager.extractAssociationValues(EventMessage event, ProcessingContext context) Extracts the AssociationValues from the giveneventas relevant for a Saga of givensagaType.protected Set<AssociationValue> AnnotatedSagaManager.extractAssociationValues(EventMessage event, ProcessingContext context) AssociationValuesImpl.iterator()AssociationValues.removedAssociations()Returns the Set of association values that have been removed since the lastAssociationValues.commit().AssociationValuesImpl.removedAssociations()Methods in org.axonframework.modelling.saga with parameters of type AssociationValueModifier and TypeMethodDescriptionbooleanAssociationValues.add(AssociationValue associationValue) Adds the givenassociationValue, if it has not been previously added.booleanAssociationValuesImpl.add(AssociationValue associationValue) voidAnnotatedSaga.associateWith(AssociationValue associationValue) voidSagaLifecycle.associateWith(AssociationValue associationValue) Registers the givenassociationValuewith the current Saga.booleanAssociationValues.contains(AssociationValue associationValue) Indicates whether this instance contains the givenassociationValue.booleanAssociationValuesImpl.contains(AssociationValue associationValue) SagaRepository.find(AssociationValue associationValue, ProcessingContext context) Find saga instances of the giventypethat have been associated with the givenassociationValue.booleanAssociationValues.remove(AssociationValue associationValue) Removes the givenassociationValue, if it is contained by this instance.booleanAssociationValuesImpl.remove(AssociationValue associationValue) voidAnnotatedSaga.removeAssociationWith(AssociationValue associationValue) voidSagaLifecycle.removeAssociationWith(AssociationValue associationValue) Removes the givenassociationValuefrom the current Saga.Constructors in org.axonframework.modelling.saga with parameters of type AssociationValueModifierConstructorDescriptionSagaInitializationPolicy(SagaCreationPolicy creationPolicy, AssociationValue initialAssociationValue) Creates an instance using the givencreationPolicyandinitialAssociationValue.Constructor parameters in org.axonframework.modelling.saga with type arguments of type AssociationValueModifierConstructorDescriptionAnnotatedSaga(String sagaId, Set<AssociationValue> associationValues, T annotatedSaga, SagaModel<T> metaModel, MessageHandlerInterceptorMemberChain<T> chainedInterceptor) Creates an AnnotatedSaga instance to wrap the givenannotatedSaga, identifier with the givensagaIdand associated with the givenassociationValues.AssociationValuesImpl(Set<AssociationValue> initialValues) Initializes a new AssociationValues object with given initial associations. -
Uses of AssociationValue in org.axonframework.modelling.saga.metamodel
Methods in org.axonframework.modelling.saga.metamodel that return types with arguments of type AssociationValueModifier and TypeMethodDescriptionSagaModel.resolveAssociation(EventMessage eventMessage, ProcessingContext context) -
Uses of AssociationValue in org.axonframework.modelling.saga.repository
Methods in org.axonframework.modelling.saga.repository that return types with arguments of type AssociationValueModifier and TypeMethodDescriptionSagaStore.Entry.associationValues()Returns the Set of association values of the fetched Saga entry.Methods in org.axonframework.modelling.saga.repository with parameters of type AssociationValueModifier and TypeMethodDescriptionAnnotatedSagaRepository.find(AssociationValue associationValue, ProcessingContext context) CachingSagaStore.findSagas(Class<? extends T> sagaType, AssociationValue associationValue) SagaStore.findSagas(Class<? extends T> sagaType, AssociationValue associationValue) Returns identifiers of saga instances of the givensagaTypethat have been associated with the givenassociationValue.Method parameters in org.axonframework.modelling.saga.repository with type arguments of type AssociationValueModifier and TypeMethodDescriptionprotected voidCachingSagaStore.addCachedAssociations(Iterable<AssociationValue> associationValues, String sagaIdentifier, Class<?> sagaType) Registers the associations of a saga with givensagaIdentifierand givensagaTypewith the associations cache.voidCachingSagaStore.deleteSaga(Class<? extends T> sagaType, String sagaIdentifier, Set<AssociationValue> associationValues) voidSagaStore.deleteSaga(Class<? extends T> sagaType, String sagaIdentifier, Set<AssociationValue> associationValues) Deletes a Saga with givensagaTypeandsagaIdentifierand all its associations.voidCachingSagaStore.insertSaga(Class<? extends T> sagaType, String sagaIdentifier, T saga, Set<AssociationValue> associationValues) voidSagaStore.insertSaga(Class<? extends T> sagaType, String sagaIdentifier, T saga, Set<AssociationValue> associationValues) Adds a new Saga and its initial association values to the store. -
Uses of AssociationValue in org.axonframework.modelling.saga.repository.inmemory
Methods in org.axonframework.modelling.saga.repository.inmemory with parameters of type AssociationValueModifier and TypeMethodDescriptionInMemorySagaStore.findSagas(Class<?> sagaType, AssociationValue associationValue) Method parameters in org.axonframework.modelling.saga.repository.inmemory with type arguments of type AssociationValueModifier and TypeMethodDescriptionvoidInMemorySagaStore.deleteSaga(Class<?> sagaType, String sagaIdentifier, Set<AssociationValue> associationValues) voidInMemorySagaStore.insertSaga(Class<?> sagaType, String sagaIdentifier, Object saga, Set<AssociationValue> associationValues) -
Uses of AssociationValue in org.axonframework.modelling.saga.repository.jdbc
Methods in org.axonframework.modelling.saga.repository.jdbc that return types with arguments of type AssociationValueModifier and TypeMethodDescriptionGenericSagaSqlSchema.readAssociationValues(ResultSet resultSet) SagaSqlSchema.readAssociationValues(ResultSet resultSet) Reads a Set of AssociationValues from the givenresultSet, which has been returned by executing the Statement returned fromSagaSqlSchema.sql_findAssociations(Connection, String, String).Methods in org.axonframework.modelling.saga.repository.jdbc with parameters of type AssociationValueModifier and TypeMethodDescriptionJdbcSagaStore.findSagas(Class<?> sagaType, AssociationValue associationValue) Method parameters in org.axonframework.modelling.saga.repository.jdbc with type arguments of type AssociationValueModifier and TypeMethodDescriptionvoidJdbcSagaStore.deleteSaga(Class<?> sagaType, String sagaIdentifier, Set<AssociationValue> associationValues) voidJdbcSagaStore.insertSaga(Class<?> sagaType, String sagaIdentifier, Object saga, Set<AssociationValue> associationValues) -
Uses of AssociationValue in org.axonframework.modelling.saga.repository.jpa
Methods in org.axonframework.modelling.saga.repository.jpa that return AssociationValueModifier and TypeMethodDescriptionAssociationValueEntry.getAssociationValue()Returns the association value contained in this entry.Methods in org.axonframework.modelling.saga.repository.jpa that return types with arguments of type AssociationValueModifier and TypeMethodDescriptionprotected Set<AssociationValue> JpaSagaStore.loadAssociationValues(jakarta.persistence.EntityManager entityManager, Class<?> sagaType, String sagaIdentifier) Methods in org.axonframework.modelling.saga.repository.jpa with parameters of type AssociationValueModifier and TypeMethodDescriptionJpaSagaStore.findSagas(Class<?> sagaType, AssociationValue associationValue) protected voidJpaSagaStore.removeAssociationValue(jakarta.persistence.EntityManager entityManager, Class<?> sagaType, String sagaIdentifier, AssociationValue associationValue) Removes the givenassociationValueof the saga with givensagaIdentifierandsagaType.protected voidJpaSagaStore.storeAssociationValue(jakarta.persistence.EntityManager entityManager, Class<?> sagaType, String sagaIdentifier, AssociationValue associationValue) Stores the givenassociationValueof the saga with givensagaIdentifierandsagaType.Method parameters in org.axonframework.modelling.saga.repository.jpa with type arguments of type AssociationValueModifier and TypeMethodDescriptionvoidJpaSagaStore.deleteSaga(Class<?> sagaType, String sagaIdentifier, Set<AssociationValue> associationValues) voidJpaSagaStore.insertSaga(Class<?> sagaType, String sagaIdentifier, Object saga, Set<AssociationValue> associationValues) Constructors in org.axonframework.modelling.saga.repository.jpa with parameters of type AssociationValueModifierConstructorDescriptionAssociationValueEntry(String sagaType, String sagaIdentifier, AssociationValue associationValue) Initialize a new AssociationValueEntry for a saga with givensagaIdentifierandassociationValue.