Module org.refcodes.servicebus
Package org.refcodes.servicebus
Interface ServiceMatcher<S extends Service<?>>
- Type Parameters:
S
- The matchee type
- All Superinterfaces:
org.refcodes.mixin.AliasAccessor
,org.refcodes.matcher.Matchable<S>
,org.refcodes.matcher.Matcher<S>
,org.refcodes.mixin.Schemable
This interface typifies the matcher interface for the usage with services. A
service matcher most commonly uses the service Meta-Data in order to
determine whether an event matches or not.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.mixin.AliasAccessor
org.refcodes.mixin.AliasAccessor.AliasBuilder<B extends org.refcodes.mixin.AliasAccessor.AliasBuilder<B>>, org.refcodes.mixin.AliasAccessor.AliasMutator, org.refcodes.mixin.AliasAccessor.AliasProperty
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isMatching
(S aService) Tests whether the given service matches this descriptor by comparing the service's type with the type specified in this descriptor as well as the service's Meta-Data with the Meta-Data stored in the descriptor. .Methods inherited from interface org.refcodes.mixin.AliasAccessor
getAlias
Methods inherited from interface org.refcodes.matcher.Matcher
toSchema
-
Method Details
-
isMatching
Tests whether the given service matches this descriptor by comparing the service's type with the type specified in this descriptor as well as the service's Meta-Data with the Meta-Data stored in the descriptor. .
-