public interface SagaRepository<T>
AssociationValue) or via their unique identifier.
|Modifier and Type||Method and Description|
Creates a new Saga instance.
Find saga instances of the given
Loads a known Saga instance by its unique identifier.
Set<String> find(AssociationValue associationValue)
typethat have been associated with the given
associationValue- The value that the returned Sagas must be associated with
nullin case a Saga doesn't exists, as opposed to throwing an exception.
sagaIdentifier- The unique identifier of the Saga to load
nullif no such saga exists
sagaIdentifier- the identifier to use for the new saga instance
factoryMethod- Used to create a new Saga delegate
Copyright © 2010–2020. All rights reserved.