public class EurekaStubsRegistrar extends Object implements StubsRegistrar
| Constructor and Description |
|---|
EurekaStubsRegistrar(StubRunning stubRunning,
Eureka eureka,
StubMapperProperties stubMapperProperties,
org.springframework.cloud.commons.util.InetUtils inetUtils,
org.springframework.cloud.netflix.eureka.EurekaInstanceConfigBean eurekaInstanceConfigBean) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected String |
hostName(Map.Entry<StubConfiguration,Integer> entry) |
protected int |
port(Map.Entry<StubConfiguration,Integer> entry) |
void |
registerStubs() |
public EurekaStubsRegistrar(StubRunning stubRunning, Eureka eureka, StubMapperProperties stubMapperProperties, org.springframework.cloud.commons.util.InetUtils inetUtils, org.springframework.cloud.netflix.eureka.EurekaInstanceConfigBean eurekaInstanceConfigBean)
public void registerStubs()
registerStubs in interface StubsRegistrarprotected String hostName(Map.Entry<StubConfiguration,Integer> entry)
protected int port(Map.Entry<StubConfiguration,Integer> entry)
public void close()
throws Exception
close in interface AutoCloseableExceptionCopyright © 2016–2017 Spring. All rights reserved.