Package org.axonframework.modelling.saga
Interface AssociationResolver
- All Known Implementing Classes:
MetadataAssociationResolver,PayloadAssociationResolver
public interface AssociationResolver
Used to derive the value of an association property as designated by the association property name.
- Author:
- Sofia Guy Ang
-
Method Summary
Modifier and TypeMethodDescription<T> Objectresolve(String associationPropertyName, EventMessage message, MessageHandlingMember<T> handler) Resolves the associationPropertyName as a value.<T> voidvalidate(String associationPropertyName, MessageHandlingMember<T> handler) Validates that the associationPropertyName supplied is compatible with the handler.
-
Method Details
-
validate
Validates that the associationPropertyName supplied is compatible with the handler. -
resolve
<T> Object resolve(String associationPropertyName, EventMessage message, MessageHandlingMember<T> handler) Resolves the associationPropertyName as a value.
-