- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface DiscoveryServiceProviderThe
DiscoveryServiceProviderinterface provides the possibility to build
DiscoveryServiceimplementations should be immutable and therefore the provider is introduced to provide this ability. Every service should have its own provider, however in rare cases a single provider might create different
DiscoveryServiceimplementations based on the provided
DiscoveryModeor other configuration details.