instead
.@Configuration(proxyBeanMethods=false) @EnableConfigurationProperties @ConditionalOnMissingBean(value=DiscoveryClient.class) @Deprecated public class NoopDiscoveryClientAutoConfiguration extends Object implements org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
Modifier and Type | Class and Description |
---|---|
protected static class |
NoopDiscoveryClientAutoConfiguration.Boot15PortFinderConfiguration
Deprecated.
|
Constructor and Description |
---|
NoopDiscoveryClientAutoConfiguration()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
DiscoveryClient |
discoveryClient()
Deprecated.
|
void |
init()
Deprecated.
|
void |
onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event)
Deprecated.
|
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 © 2020 Pivotal Software, Inc.. All rights reserved.