Class EurekaConfigBasedInstanceInfoProvider

  • All Implemented Interfaces:
    jakarta.inject.Provider<InstanceInfo>

    @Singleton
    public class EurekaConfigBasedInstanceInfoProvider
    extends java.lang.Object
    implements jakarta.inject.Provider<InstanceInfo>
    InstanceInfo provider that constructs the InstanceInfo this this instance using EurekaInstanceConfig. This provider is @Singleton scope as it provides the InstanceInfo for both DiscoveryClient and ApplicationInfoManager, and need to provide the same InstanceInfo to both.
    • Constructor Detail

      • EurekaConfigBasedInstanceInfoProvider

        @Inject
        public EurekaConfigBasedInstanceInfoProvider​(EurekaInstanceConfig config)