@Configuration(proxyBeanMethods=false)
@AutoConfigureBefore(value={NoopDiscoveryClientAutoConfiguration.class,CommonsClientAutoConfiguration.class})
public class SimpleDiscoveryClientAutoConfiguration
extends Object
implements org.springframework.context.ApplicationListener<org.springframework.boot.web.context.WebServerInitializedEvent>
| Constructor and Description |
|---|
SimpleDiscoveryClientAutoConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
void |
onApplicationEvent(org.springframework.boot.web.context.WebServerInitializedEvent webServerInitializedEvent) |
DiscoveryClient |
simpleDiscoveryClient() |
SimpleDiscoveryProperties |
simpleDiscoveryProperties() |
public SimpleDiscoveryClientAutoConfiguration()
@Bean public SimpleDiscoveryProperties simpleDiscoveryProperties()
@Bean @Order(value=2147483647) public DiscoveryClient simpleDiscoveryClient()
public void onApplicationEvent(org.springframework.boot.web.context.WebServerInitializedEvent webServerInitializedEvent)
onApplicationEvent in interface org.springframework.context.ApplicationListener<org.springframework.boot.web.context.WebServerInitializedEvent>Copyright © 2019 Pivotal Software, Inc.. All rights reserved.