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