public class NodeClientFactoryBean extends Object implements FactoryBean<org.elasticsearch.client.Client>, InitializingBean, 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 FactoryBean<org.elasticsearch.client.Client>Exceptionpublic Class<? extends org.elasticsearch.client.Client> getObjectType()
getObjectType in interface FactoryBean<org.elasticsearch.client.Client>public boolean isSingleton()
isSingleton in interface FactoryBean<org.elasticsearch.client.Client>public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface 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)
public void destroy()
throws Exception
destroy in interface DisposableBeanExceptionCopyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.