Interface ExternalDiscoveryConfigurator


public interface ExternalDiscoveryConfigurator
An external discovery configurator. Instances of this class are found by way of ServiceLoader from the class loader of this library.
Author:
David M. Lloyd
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    configure(Consumer<DiscoveryProvider> discoveryProviderConsumer, Consumer<RegistryProvider> registryProviderConsumer)
    Configure extra discovery and registry providers and supply them to the given consumers.
  • Method Details

    • configure

      void configure(Consumer<DiscoveryProvider> discoveryProviderConsumer, Consumer<RegistryProvider> registryProviderConsumer)
      Configure extra discovery and registry providers and supply them to the given consumers. The provider values should not be null.
      Parameters:
      discoveryProviderConsumer - the discovery provider consumer (not null)
      registryProviderConsumer - the registry provider consumer (not null)