Package fr.pilato.spring.elasticsearch

Examples of fr.pilato.spring.elasticsearch.ElasticsearchNodeFactoryBean.afterPropertiesSet()


public class AppConfig {

  @Bean
  public Node esNode() throws Exception {
    ElasticsearchNodeFactoryBean factory = new ElasticsearchNodeFactoryBean();
    factory.afterPropertiesSet();
    return factory.getObject();
  }

  @Bean
  public Client esClient() throws Exception {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.