Package fr.pilato.spring.elasticsearch

Examples of fr.pilato.spring.elasticsearch.ElasticsearchNodeFactoryBean


@Configuration
public class AppConfig {

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

TOP

Related Classes of fr.pilato.spring.elasticsearch.ElasticsearchNodeFactoryBean

Copyright © 2018 www.massapicom. 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.