Interface EventTargetMatcherDefinition
- All Known Implementing Classes:
RoutingKeyEventTargetMatcherDefinition
public interface EventTargetMatcherDefinition
Defines how a
EventTargetMatcher should be constructed for an EntityMember-annotated member of an
AnnotatedEntityMetamodel.- Since:
- 5.0.0
- Author:
- Mitchell Herrijgers
- See Also:
-
Method Summary
Modifier and TypeMethodDescription<E> EventTargetMatcher<E> createChildEntityMatcher(AnnotatedEntityMetamodel<E> entity, Member member)
-
Method Details
-
createChildEntityMatcher
@Nonnull <E> EventTargetMatcher<E> createChildEntityMatcher(@Nonnull AnnotatedEntityMetamodel<E> entity, @Nonnull Member member) - Type Parameters:
E- The type of the child entity.- Parameters:
entity- TheAnnotatedEntityMetamodelrepresenting the child entity.member- The member that represents the child entity in the parent entity metamodel. This member is typically a field or a method that returns the child entity, annotated withEntityMember.- Returns:
- An
EventTargetMatcherthat can be used to match child entities against messages.
-