Class RestClientFactoryBean

java.lang.Object
org.springframework.data.elasticsearch.client.erhlc.RestClientFactoryBean
All Implemented Interfaces:
DisposableBean, FactoryBean<org.elasticsearch.client.RestHighLevelClient>, InitializingBean

@Deprecated public class RestClientFactoryBean extends Object implements FactoryBean<org.elasticsearch.client.RestHighLevelClient>, InitializingBean, DisposableBean
Deprecated.
since 5.0
RestClientFactoryBean
Author:
Don Wellington, Peter-Josef Meisch
  • Constructor Details

    • RestClientFactoryBean

      public RestClientFactoryBean()
      Deprecated.
  • Method Details

    • destroy

      public void destroy()
      Deprecated.
      Specified by:
      destroy in interface DisposableBean
    • afterPropertiesSet

      public void afterPropertiesSet() throws Exception
      Deprecated.
      Specified by:
      afterPropertiesSet in interface InitializingBean
      Throws:
      Exception
    • getObject

      public org.elasticsearch.client.RestHighLevelClient getObject()
      Deprecated.
      Specified by:
      getObject in interface FactoryBean<org.elasticsearch.client.RestHighLevelClient>
    • getObjectType

      public Class<?> getObjectType()
      Deprecated.
      Specified by:
      getObjectType in interface FactoryBean<org.elasticsearch.client.RestHighLevelClient>
    • isSingleton

      public boolean isSingleton()
      Deprecated.
      Specified by:
      isSingleton in interface FactoryBean<org.elasticsearch.client.RestHighLevelClient>
    • buildClient

      protected void buildClient() throws Exception
      Deprecated.
      Throws:
      Exception
    • setHosts

      public void setHosts(String hosts)
      Deprecated.
    • getHosts

      public String getHosts()
      Deprecated.