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-null
EurekaRegistrationServerFeature
, configured using the suppliedConfig
.
-
Constructor Details
-
EurekaRegistrationServerFeatureProvider
Deprecated.ForServiceLoader
use only.Creates a newEurekaRegistrationServerFeatureProvider
.
-
-
Method Details
-
configKey
Returns "eureka" when invoked.- Specified by:
configKey
in interfaceConfiguredProvider<EurekaRegistrationServerFeature>
- Returns:
- "eureka" when invoked
- See Also:
-
create
Creates and returns a non-null
EurekaRegistrationServerFeature
, configured using the suppliedConfig
.Following Helidon convention, this method returns a
EurekaRegistrationServerFeature
as if by executing code with effects identical to those of the following:return
EurekaRegistrationConfig
.builder()
.config(config) .name(name) .build();The
Config
will be used to configure aEurekaRegistrationConfig
prototype that describes both the initial registration's details and its process. Most users will interact with this entire feature via configuration only.- Specified by:
create
in interfaceConfiguredProvider<EurekaRegistrationServerFeature>
- Parameters:
config
- aConfig
node; must not benull
name
- the name of the configured implementation; must not benull
- Returns:
- a non-
null
EurekaRegistrationServerFeature
- See Also:
-
ServiceLoader
use only.