public class NodeClientFactoryBean extends Object implements org.springframework.beans.factory.FactoryBean<org.elasticsearch.client.Client>, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
| Modifier and Type | Class and Description |
|---|---|
static class |
NodeClientFactoryBean.TestNode |
| Constructor and Description |
|---|
NodeClientFactoryBean(boolean local) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
void |
destroy() |
org.elasticsearch.client.node.NodeClient |
getObject() |
Class<? extends org.elasticsearch.client.Client> |
getObjectType() |
boolean |
isSingleton() |
void |
setClusterName(String clusterName) |
void |
setEnableHttp(boolean enableHttp) |
void |
setLocal(boolean local) |
void |
setPathConfiguration(String configuration) |
void |
setPathData(String pathData) |
void |
setPathHome(String pathHome) |
public org.elasticsearch.client.node.NodeClient getObject()
throws Exception
getObject in interface org.springframework.beans.factory.FactoryBean<org.elasticsearch.client.Client>Exceptionpublic Class<? extends org.elasticsearch.client.Client> getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBean<org.elasticsearch.client.Client>public boolean isSingleton()
isSingleton in interface org.springframework.beans.factory.FactoryBean<org.elasticsearch.client.Client>public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionpublic void setLocal(boolean local)
public void setEnableHttp(boolean enableHttp)
public void setClusterName(String clusterName)
public void setPathData(String pathData)
public void setPathHome(String pathHome)
public void setPathConfiguration(String configuration)
Copyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.