public class SolrRepositoryFactoryBean<T extends Repository<S,ID>,S,ID extends Serializable> extends TransactionalRepositoryFactoryBeanSupport<T,S,ID>
FactoryBean implementation to ease container based configuration for XML namespace and JavaConfig.| Constructor and Description |
|---|
SolrRepositoryFactoryBean() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
protected RepositoryFactorySupport |
doCreateRepositoryFactory() |
SimpleSolrMappingContext |
getSolrMappingContext() |
protected SolrOperations |
getSolrOperations() |
void |
setSchemaCreationSupport(boolean schemaCreationSupport) |
void |
setSolrMappingContext(SimpleSolrMappingContext solrMappingContext) |
void |
setSolrOperations(SolrOperations operations)
Configures the
SolrOperations to be used to create Solr repositories. |
void |
setSolrServer(org.apache.solr.client.solrj.SolrServer solrServer) |
createRepositoryFactory, setBeanFactory, setEnableDefaultTransactions, setTransactionManagergetEntityInformation, getObject, getObjectType, getPersistentEntity, getQueryMethods, getRepositoryInformation, isSingleton, setBeanClassLoader, setCustomImplementation, setEvaluationContextProvider, setLazyInit, setMappingContext, setNamedQueries, setQueryLookupStrategyKey, setRepositoryBaseClass, setRepositoryInterfacepublic void setSolrOperations(SolrOperations operations)
SolrOperations to be used to create Solr repositories.operations - the operations to setpublic void setSolrServer(org.apache.solr.client.solrj.SolrServer solrServer)
public void setSchemaCreationSupport(boolean schemaCreationSupport)
public void setSolrMappingContext(SimpleSolrMappingContext solrMappingContext)
solrMappingContext - public SimpleSolrMappingContext getSolrMappingContext()
protected SolrOperations getSolrOperations()
public void afterPropertiesSet()
afterPropertiesSet in interface InitializingBeanafterPropertiesSet in class RepositoryFactoryBeanSupport<T extends Repository<S,ID>,S,ID extends Serializable>protected RepositoryFactorySupport doCreateRepositoryFactory()
doCreateRepositoryFactory in class TransactionalRepositoryFactoryBeanSupport<T extends Repository<S,ID>,S,ID extends Serializable>Copyright © 2011-2015–2015 Pivotal Software, Inc.. All rights reserved.