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
<T> void validate(@Nonnull String associationPropertyName, @Nonnull MessageHandlingMember<T> handler) Validates that the associationPropertyName supplied is compatible with the handler. -
resolve
<T> Object resolve(@Nonnull String associationPropertyName, @Nonnull EventMessage<?> message, @Nonnull MessageHandlingMember<T> handler) Resolves the associationPropertyName as a value.
-