Interface DiscoveryServiceProvider
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
The
DiscoveryServiceProvider
interface provides the possibility to build DiscoveryService
s.
DiscoveryService
implementations 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 DiscoveryService
implementations based on the provided {DiscoveryMode} or other
configuration details.- Since:
- 3.6
-
Method Summary
Modifier and TypeMethodDescriptionnewDiscoveryService
(DiscoveryServiceSettings settings) Instantiates a new instance of theDiscoveryService
.
-
Method Details
-
newDiscoveryService
Instantiates a new instance of theDiscoveryService
.- Parameters:
settings
- The settings to pass to creation of theDiscoveryService
- Returns:
- a new instance of the discovery service
-