@Configuration @EnableConfigurationProperties(value=HeweatherProperties.class) @ConditionalOnClass(value=xyz.gabear.heweather.client.HeweatherClient.class) @Conditional(value=xyz.gabear.heweatherspringbootstarter.config.HeweatherAutoConfiguration.HeweatherCondition.class) public class HeweatherAutoConfiguration extends Object
| 构造器和说明 |
|---|
HeweatherAutoConfiguration(HeweatherProperties heweatherProperties) |
public HeweatherAutoConfiguration(HeweatherProperties heweatherProperties)
@Bean @ConditionalOnMissingBean(value=xyz.gabear.heweather.client.HeweatherClientImpl.class) public HeweatherClient heweatherService()
Copyright © 2019. All rights reserved.