org.springframework.data.elasticsearch.client
Class NodeClientFactoryBean
java.lang.Object
org.springframework.data.elasticsearch.client.NodeClientFactoryBean
- All Implemented Interfaces:
- FactoryBean<org.elasticsearch.client.node.NodeClient>, InitializingBean
public class NodeClientFactoryBean
- extends Object
- implements FactoryBean<org.elasticsearch.client.node.NodeClient>, InitializingBean
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NodeClientFactoryBean
public NodeClientFactoryBean(boolean local)
getObject
public org.elasticsearch.client.node.NodeClient getObject()
throws Exception
- Specified by:
getObject
in interface FactoryBean<org.elasticsearch.client.node.NodeClient>
- Throws:
Exception
getObjectType
public Class<? extends org.elasticsearch.client.Client> getObjectType()
- Specified by:
getObjectType
in interface FactoryBean<org.elasticsearch.client.node.NodeClient>
isSingleton
public boolean isSingleton()
- Specified by:
isSingleton
in interface FactoryBean<org.elasticsearch.client.node.NodeClient>
afterPropertiesSet
public void afterPropertiesSet()
throws Exception
- Specified by:
afterPropertiesSet
in interface InitializingBean
- Throws:
Exception
setLocal
public void setLocal(boolean local)
Copyright © 2013 BioMed Central. All Rights Reserved.