@Component
@ConditionalOnClass(value=org.elasticsearch.client.RestHighLevelClient.class)
@ConditionalOnProperty(prefix="easy-es",
name="enable",
havingValue="true",
matchIfMissing=true)
public class IndexStrategyFactory
extends Object
implements org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.InitializingBean
Copyright © 2022 xpc1024 All Rights Reserved
| 构造器和说明 |
|---|
IndexStrategyFactory() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
afterPropertiesSet() |
AutoProcessIndexService |
getByStrategyType(Integer strategyType) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext 在接口中 org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionpublic void afterPropertiesSet()
afterPropertiesSet 在接口中 org.springframework.beans.factory.InitializingBeanpublic AutoProcessIndexService getByStrategyType(Integer strategyType)
Copyright © 2023. All rights reserved.