@Configuration @EnableConfigurationProperties @ConditionalOnMissingBean(value=DiscoveryClient.class) public class NoopDiscoveryClientAutoConfiguration extends Object implements org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
| Constructor and Description |
|---|
NoopDiscoveryClientAutoConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
DiscoveryClient |
discoveryClient() |
void |
init() |
void |
onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event) |
public NoopDiscoveryClientAutoConfiguration()
@PostConstruct public void init()
public void onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event)
onApplicationEvent in interface org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>@Bean public DiscoveryClient discoveryClient()
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.