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