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(String associationPropertyName, MessageHandlingMember<T> handler)
validate
in interface AssociationResolver
public <T> Object resolve(String associationPropertyName, EventMessage<?> message, MessageHandlingMember<T> handler)
MetaData
.resolve
in interface AssociationResolver
Copyright © 2010–2022. All rights reserved.