@Configuration(proxyBeanMethods=false)
@ConditionalOnProperty(value="spring.cloud.cloudfoundry.discovery.use-dns",
havingValue="false",
matchIfMissing=true)
public static class CloudFoundryDiscoveryClientConfiguration.CloudFoundryDiscoveryClientConfig
extends Object
| Constructor and Description |
|---|
CloudFoundryDiscoveryClientConfig() |
| Modifier and Type | Method and Description |
|---|---|
CloudFoundryDiscoveryClient |
cloudFoundryDiscoveryClient(org.cloudfoundry.operations.CloudFoundryOperations cf,
CloudFoundryService svc,
CloudFoundryDiscoveryProperties cloudFoundryDiscoveryProperties) |
@Bean @ConditionalOnMissingBean(value=org.springframework.cloud.client.discovery.DiscoveryClient.class) public CloudFoundryDiscoveryClient cloudFoundryDiscoveryClient(org.cloudfoundry.operations.CloudFoundryOperations cf, CloudFoundryService svc, CloudFoundryDiscoveryProperties cloudFoundryDiscoveryProperties)
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.