public class EmbeddedSolrServerFactoryBean extends EmbeddedSolrServerFactory implements FactoryBean<org.apache.solr.client.solrj.SolrClient>, 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.embedded.EmbeddedSolrServer |
getObject() |
Class<? extends org.apache.solr.client.solrj.SolrClient> |
getObjectType() |
boolean |
isSingleton() |
createPathConfiguredSolrServer, destroy, getCores, getSolrClient, initCoreContainer, 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.embedded.EmbeddedSolrServer getObject()
throws Exception
getObject in interface FactoryBean<org.apache.solr.client.solrj.SolrClient>Exceptionpublic Class<? extends org.apache.solr.client.solrj.SolrClient> getObjectType()
getObjectType in interface FactoryBean<org.apache.solr.client.solrj.SolrClient>public boolean isSingleton()
isSingleton in interface FactoryBean<org.apache.solr.client.solrj.SolrClient>Copyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.