public class HttpSolrServerFactoryBean extends HttpSolrServerFactory implements FactoryBean<org.apache.solr.client.solrj.SolrServer>, InitializingBean, DisposableBean
| Constructor and Description |
|---|
HttpSolrServerFactoryBean() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
void |
destroy() |
protected void |
destroy(org.apache.solr.client.solrj.SolrServer server) |
org.apache.solr.client.solrj.SolrServer |
getObject() |
Class<?> |
getObjectType() |
org.apache.solr.client.solrj.SolrServer |
getSolrServer()
Get base
SolrServer instance |
protected boolean |
isHttpSolrServer(org.apache.solr.client.solrj.SolrServer solrServer) |
boolean |
isSingleton() |
void |
setMaxConnections(Integer maxConnections) |
void |
setSolrServer(org.apache.solr.client.solrj.SolrServer solrServer) |
void |
setTimeout(Integer timeout) |
void |
setUrl(String url) |
appendCoreToBaseUrl, getCores, getSolrServerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdestroypublic void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface InitializingBeanExceptionpublic org.apache.solr.client.solrj.SolrServer getObject()
throws Exception
getObject in interface FactoryBean<org.apache.solr.client.solrj.SolrServer>Exceptionpublic Class<?> getObjectType()
getObjectType in interface FactoryBean<org.apache.solr.client.solrj.SolrServer>public boolean isSingleton()
isSingleton in interface FactoryBean<org.apache.solr.client.solrj.SolrServer>public void setUrl(String url)
public void setTimeout(Integer timeout)
public void setMaxConnections(Integer maxConnections)
protected final boolean isHttpSolrServer(org.apache.solr.client.solrj.SolrServer solrServer)
public org.apache.solr.client.solrj.SolrServer getSolrServer()
SolrServerFactorySolrServer instancegetSolrServer in interface SolrServerFactorypublic void setSolrServer(org.apache.solr.client.solrj.SolrServer solrServer)
public void destroy()
destroy in interface DisposableBeanprotected void destroy(org.apache.solr.client.solrj.SolrServer server)
server - Copyright © 2011-2015–2015 Pivotal Software, Inc.. All rights reserved.