@Configuration
@ConditionalOnClass(value=org.elasticsearch.client.RestHighLevelClient.class)
@EnableConfigurationProperties(value={DynamicEsProperties.class,EasyEsConfigProperties.class})
@ConditionalOnProperty(prefix="easy-es",
name="enable",
havingValue="true",
matchIfMissing=true)
public class EsAutoConfiguration
extends Object
Copyright © 2021 xpc1024 All Rights Reserved
| 构造器和说明 |
|---|
EsAutoConfiguration() |
| 限定符和类型 | 方法和说明 |
|---|---|
org.elasticsearch.client.RestHighLevelClient |
restHighLevelClient()
装配RestHighLevelClient
|
org.dromara.easyes.common.utils.RestHighLevelClientUtils |
restHighLevelClientUtils() |
@Bean @ConditionalOnMissingBean public org.elasticsearch.client.RestHighLevelClient restHighLevelClient()
@Bean public org.dromara.easyes.common.utils.RestHighLevelClientUtils restHighLevelClientUtils()
Copyright © 2024. All rights reserved.