Package io.helidon.integrations.eureka
Class EurekaRegistrationServerFeatureProvider
java.lang.Object
io.helidon.integrations.eureka.EurekaRegistrationServerFeatureProvider
- All Implemented Interfaces:
ConfiguredProvider<EurekaRegistrationServerFeature>,ServerFeatureProvider<EurekaRegistrationServerFeature>
public final class EurekaRegistrationServerFeatureProvider
extends Object
implements ServerFeatureProvider<EurekaRegistrationServerFeature>
A
ServerFeatureProvider that creates and installs a EurekaRegistrationServerFeature.
Most users will never need to programmatically interact with any of the classes in this package.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns "eureka" when invoked.Creates and returns a non-nullEurekaRegistrationServerFeature, configured using the suppliedConfig.
-
Constructor Details
-
EurekaRegistrationServerFeatureProvider
Deprecated.ForServiceLoaderuse only.Creates a newEurekaRegistrationServerFeatureProvider.
-
-
Method Details
-
configKey
Returns "eureka" when invoked.- Specified by:
configKeyin interfaceConfiguredProvider<EurekaRegistrationServerFeature>- Returns:
- "eureka" when invoked
- See Also:
-
create
Creates and returns a non-nullEurekaRegistrationServerFeature, configured using the suppliedConfig.Following Helidon convention, this method returns a
EurekaRegistrationServerFeatureas if by executing code with effects identical to those of the following:return
EurekaRegistrationConfig.builder().config(config) .name(name) .build();The
Configwill be used to configure aEurekaRegistrationConfigprototype that describes both the initial registration's details and its process. Most users will interact with this entire feature via configuration only.- Specified by:
createin interfaceConfiguredProvider<EurekaRegistrationServerFeature>- Parameters:
config- aConfignode; must not benullname- the name of the configured implementation; must not benull- Returns:
- a non-
nullEurekaRegistrationServerFeature - See Also:
-
ServiceLoaderuse only.