public class PayloadAssociationResolver extends Object implements AssociationResolver
Constructor and Description |
---|
PayloadAssociationResolver() |
Modifier and Type | Method and Description |
---|---|
<T> Object |
resolve(String associationPropertyName,
EventMessage<?> message,
MessageHandlingMember<T> handler)
Finds the association property value in the message's payload.
|
<T> void |
validate(String associationPropertyName,
MessageHandlingMember<T> handler)
Validates that the association property name exists as checked with the payload type.
|
public <T> void validate(String associationPropertyName, MessageHandlingMember<T> handler)
Property
. It also caches the resulting Property
instance.validate
in interface AssociationResolver
public <T> Object resolve(String associationPropertyName, EventMessage<?> message, MessageHandlingMember<T> handler)
resolve
in interface AssociationResolver
Copyright © 2010–2022. All rights reserved.