-
- Enclosing class:
- ServiceRegistry
public static interface ServiceRegistry.FilterA simple filter interface used byServiceRegistry.getServiceProvidersto select providers matching an arbitrary criterion. Classes that implement this interface should be defined in order to make use of thegetServiceProvidersmethod ofServiceRegistrythat takes aFilter.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanfilter(Object provider)Returnstrueif the givenproviderobject matches the criterion defined by thisFilter.
-
-
-
Method Detail
-
filter
boolean filter(Object provider)
Returnstrueif the givenproviderobject matches the criterion defined by thisFilter.- Parameters:
provider- a service providerObject.- Returns:
- true if the provider matches the criterion.
-
-