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, shutdownSolrServer
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<? 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–2016 Pivotal Software, Inc.. All rights reserved.