Package org.wildfly.discovery.spi
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 TypeMethodDescriptionvoidconfigure(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 benull.- Parameters:
discoveryProviderConsumer- the discovery provider consumer (notnull)registryProviderConsumer- the registry provider consumer (notnull)
-