Class EurekaRegistration

  • All Implemented Interfaces:
    org.springframework.cloud.client.ServiceInstance, org.springframework.cloud.client.serviceregistry.Registration

    public class EurekaRegistration
    extends Object
    implements org.springframework.cloud.client.serviceregistry.Registration
    Eureka-specific implementation of service instance Registration.
    Author:
    Spencer Gibb, Tim Ysewyn
    • Method Detail

      • getInstanceId

        public String getInstanceId()
        Specified by:
        getInstanceId in interface org.springframework.cloud.client.ServiceInstance
      • getServiceId

        public String getServiceId()
        Specified by:
        getServiceId in interface org.springframework.cloud.client.ServiceInstance
      • getHost

        public String getHost()
        Specified by:
        getHost in interface org.springframework.cloud.client.ServiceInstance
      • getPort

        public int getPort()
        Specified by:
        getPort in interface org.springframework.cloud.client.ServiceInstance
      • isSecure

        public boolean isSecure()
        Specified by:
        isSecure in interface org.springframework.cloud.client.ServiceInstance
      • getUri

        public URI getUri()
        Specified by:
        getUri in interface org.springframework.cloud.client.ServiceInstance
      • getMetadata

        public Map<String,​String> getMetadata()
        Specified by:
        getMetadata in interface org.springframework.cloud.client.ServiceInstance
      • getApplicationInfoManager

        public com.netflix.appinfo.ApplicationInfoManager getApplicationInfoManager()
      • getHealthCheckHandler

        public org.springframework.beans.factory.ObjectProvider<com.netflix.appinfo.HealthCheckHandler> getHealthCheckHandler()
      • setHealthCheckHandler

        public void setHealthCheckHandler​(org.springframework.beans.factory.ObjectProvider<com.netflix.appinfo.HealthCheckHandler> healthCheckHandler)
      • setNonSecurePort

        public void setNonSecurePort​(int port)
      • getNonSecurePort

        public int getNonSecurePort()
      • setSecurePort

        public void setSecurePort​(int port)
      • getSecurePort

        public int getSecurePort()