public class MetaDataAssociationResolver extends Object implements AssociationResolver
MetaData
.Constructor and Description |
---|
MetaDataAssociationResolver() |
Modifier and Type | Method and Description |
---|---|
<T> Object |
resolve(String associationPropertyName,
EventMessage<?> message,
MessageHandlingMember<T> handler)
Finds the association property value by looking up the association property name in the event message's
MetaData . |
<T> void |
validate(String associationPropertyName,
MessageHandlingMember<T> handler)
Does nothing because we can only check for existence of property in the metadata during event handling.
|
public <T> void validate(@Nonnull String associationPropertyName, @Nonnull MessageHandlingMember<T> handler)
validate
in interface AssociationResolver
public <T> Object resolve(@Nonnull String associationPropertyName, @Nonnull EventMessage<?> message, @Nonnull MessageHandlingMember<T> handler)
MetaData
.resolve
in interface AssociationResolver
Copyright © 2010–2023. All rights reserved.