@Singleton public class DefaultFunctionDiscoveryClient extends Object implements FunctionDiscoveryClient
FunctionDiscoveryClient interface.| Constructor and Description | 
|---|
| DefaultFunctionDiscoveryClient(DiscoveryClient discoveryClient,
                              FunctionDefinitionProvider[] providers,
                              FunctionDefinition... definitions)Constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| Publisher<FunctionDefinition> | getFunction(String functionName)Finds a function for the given function name. | 
public DefaultFunctionDiscoveryClient(DiscoveryClient discoveryClient, FunctionDefinitionProvider[] providers, FunctionDefinition... definitions)
discoveryClient - discoveryClientproviders - providersdefinitions - definitionspublic Publisher<FunctionDefinition> getFunction(String functionName)
FunctionDiscoveryClientgetFunction in interface FunctionDiscoveryClientfunctionName - The function namePublisher that emits the URI of the function or a FunctionNotFoundException if no function is found