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) |
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.node.NodeClient>
Exception
public 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 InitializingBean
Exception
public 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 DisposableBean
Exception
Copyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.