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 Type
    Method
    Description
    <T> Object
    resolve(String associationPropertyName, org.axonframework.eventhandling.EventMessage<?> message, org.axonframework.messaging.annotation.MessageHandlingMember<T> handler)
    Resolves the associationPropertyName as a value.
    <T> void
    validate(String associationPropertyName, org.axonframework.messaging.annotation.MessageHandlingMember<T> handler)
    Validates that the associationPropertyName supplied is compatible with the handler.
  • Method Details

    • validate

      <T> void validate(@Nonnull String associationPropertyName, @Nonnull org.axonframework.messaging.annotation.MessageHandlingMember<T> handler)
      Validates that the associationPropertyName supplied is compatible with the handler.
    • resolve

      <T> Object resolve(@Nonnull String associationPropertyName, @Nonnull org.axonframework.eventhandling.EventMessage<?> message, @Nonnull org.axonframework.messaging.annotation.MessageHandlingMember<T> handler)
      Resolves the associationPropertyName as a value.