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() |
org.apache.solr.client.solrj.SolrServer |
getObject() |
Class<?> |
getObjectType() |
boolean |
isSingleton() |
void |
setMaxConnections(Integer maxConnections) |
void |
setTimeout(Integer timeout) |
void |
setUrl(String url) |
destroy, getCore, getSolrServer, setSolrServer
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
destroy
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface InitializingBean
Exception
public org.apache.solr.client.solrj.SolrServer getObject() throws Exception
getObject
in interface FactoryBean<org.apache.solr.client.solrj.SolrServer>
Exception
public 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)
Copyright © 2011-2013-2013 SpringSource. All Rights Reserved.