@Configuration
@EnableConfigurationProperties(value={WXWorkProperties.class,EhcacheProperties.class})
public class WXWorkAutoConfigrution
extends Object
| 构造器和说明 |
|---|
WXWorkAutoConfigrution() |
| 限定符和类型 | 方法和说明 |
|---|---|
EhcacheService |
ehcacheService() |
org.springframework.web.client.RestTemplate |
restTemplate() |
WXWorkService |
wxWorkService(EhcacheService ehcacheService,
org.springframework.web.client.RestTemplate restTemplate) |
@Bean public EhcacheService ehcacheService()
@Bean public org.springframework.web.client.RestTemplate restTemplate()
@Bean public WXWorkService wxWorkService(EhcacheService ehcacheService, org.springframework.web.client.RestTemplate restTemplate)
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.