public class EurekaRegistration extends Object implements org.springframework.cloud.client.serviceregistry.Registration
Registration
.Modifier and Type | Class and Description |
---|---|
static class |
EurekaRegistration.Builder
A builder for
EurekaRegistration objects. |
Modifier and Type | Method and Description |
---|---|
static EurekaRegistration.Builder |
builder(CloudEurekaInstanceConfig instanceConfig) |
com.netflix.appinfo.ApplicationInfoManager |
getApplicationInfoManager() |
CloudEurekaClient |
getEurekaClient() |
org.springframework.beans.factory.ObjectProvider<com.netflix.appinfo.HealthCheckHandler> |
getHealthCheckHandler() |
String |
getHost() |
CloudEurekaInstanceConfig |
getInstanceConfig() |
String |
getInstanceId() |
Map<String,String> |
getMetadata() |
int |
getNonSecurePort() |
int |
getPort() |
int |
getSecurePort() |
String |
getServiceId() |
protected <T> T |
getTargetObject(Object proxy,
Class<T> targetClass) |
URI |
getUri() |
boolean |
isSecure() |
void |
setHealthCheckHandler(org.springframework.beans.factory.ObjectProvider<com.netflix.appinfo.HealthCheckHandler> healthCheckHandler) |
void |
setNonSecurePort(int port) |
void |
setSecurePort(int port) |
public static EurekaRegistration.Builder builder(CloudEurekaInstanceConfig instanceConfig)
public String getInstanceId()
getInstanceId
in interface org.springframework.cloud.client.ServiceInstance
public String getServiceId()
getServiceId
in interface org.springframework.cloud.client.ServiceInstance
public String getHost()
getHost
in interface org.springframework.cloud.client.ServiceInstance
public int getPort()
getPort
in interface org.springframework.cloud.client.ServiceInstance
public boolean isSecure()
isSecure
in interface org.springframework.cloud.client.ServiceInstance
public URI getUri()
getUri
in interface org.springframework.cloud.client.ServiceInstance
public Map<String,String> getMetadata()
getMetadata
in interface org.springframework.cloud.client.ServiceInstance
public CloudEurekaClient getEurekaClient()
protected <T> T getTargetObject(Object proxy, Class<T> targetClass) throws Exception
Exception
public CloudEurekaInstanceConfig getInstanceConfig()
public com.netflix.appinfo.ApplicationInfoManager getApplicationInfoManager()
public org.springframework.beans.factory.ObjectProvider<com.netflix.appinfo.HealthCheckHandler> getHealthCheckHandler()
public void setHealthCheckHandler(org.springframework.beans.factory.ObjectProvider<com.netflix.appinfo.HealthCheckHandler> healthCheckHandler)
public void setNonSecurePort(int port)
public int getNonSecurePort()
public void setSecurePort(int port)
public int getSecurePort()
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.