public class ConsulStubsRegistrar extends Object implements StubsRegistrar
| Constructor and Description |
|---|
ConsulStubsRegistrar(StubRunning stubRunning,
com.ecwid.consul.v1.ConsulClient consulClient,
StubMapperProperties stubMapperProperties) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected String |
name(StubConfiguration stubConfiguration) |
protected com.ecwid.consul.v1.agent.model.NewService |
newService(StubConfiguration stubConfiguration,
Integer port) |
void |
registerStubs() |
public ConsulStubsRegistrar(StubRunning stubRunning, com.ecwid.consul.v1.ConsulClient consulClient, StubMapperProperties stubMapperProperties)
public void registerStubs()
registerStubs in interface StubsRegistrarprotected com.ecwid.consul.v1.agent.model.NewService newService(StubConfiguration stubConfiguration, Integer port)
protected String name(StubConfiguration stubConfiguration)
public void close()
throws Exception
close in interface AutoCloseableExceptionCopyright © 2016 Spring. All rights reserved.