@Configuration public class ConfigInit extends Object
| 限定符和类型 | 类和说明 |
|---|---|
class |
ConfigInit.ConnectionConfig |
class |
ConfigInit.DruidDBConfig |
protected class |
ConfigInit.InitContext |
| 限定符和类型 | 字段和说明 |
|---|---|
static org.springframework.context.ApplicationContext |
context |
| 构造器和说明 |
|---|
ConfigInit() |
| 限定符和类型 | 方法和说明 |
|---|---|
org.springframework.scheduling.quartz.SchedulerFactoryBean |
quartzJob() |
org.springframework.web.client.RestTemplate |
restTemplate(org.springframework.boot.web.client.RestTemplateBuilder builder) |
@Bean
@LoadBalanced
@ConditionalOnProperty(name="common.micro.restTemplate.enable",
havingValue="true",
matchIfMissing=false)
public org.springframework.web.client.RestTemplate restTemplate(@Autowired
org.springframework.boot.web.client.RestTemplateBuilder builder)
@Bean @ConditionalOnBean(value=IScheduleJobStore.class) public org.springframework.scheduling.quartz.SchedulerFactoryBean quartzJob()
Copyright © 2018. All rights reserved.