public class EmbeddedSolrServerFactoryBean extends EmbeddedSolrServerFactory implements FactoryBean<org.apache.solr.client.solrj.SolrServer>, InitializingBean, DisposableBean
FactoryBean for registration of an EmbeddedSolrServer as a Spring bean. Implements
DisposableBean to shut down the core container when the enclosing Spring container is destroyed.| Constructor and Description |
|---|
EmbeddedSolrServerFactoryBean() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
org.apache.solr.client.solrj.SolrServer |
getObject() |
Class<? extends org.apache.solr.client.solrj.SolrServer> |
getObjectType() |
boolean |
isSingleton() |
createPathConfiguredSolrServer, destroy, getCores, getSolrServer, getSolrServer, initSolrServer, setSolrHome, shutdownSolrServerclone, 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<? extends org.apache.solr.client.solrj.SolrServer> getObjectType()
getObjectType in interface FactoryBean<org.apache.solr.client.solrj.SolrServer>public boolean isSingleton()
isSingleton in interface FactoryBean<org.apache.solr.client.solrj.SolrServer>Copyright © 2011-2015–2015 Pivotal Software, Inc.. All rights reserved.