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() |
void |
setSolrOperations(SolrOperations operations)
Configures the
SolrOperations to be used to create Solr repositories. |
createRepositoryFactory, setBeanFactory, setTransactionManager
getEntityInformation, getObject, getObjectType, getPersistentEntity, getQueryMethods, getRepositoryInformation, isSingleton, setCustomImplementation, setMappingContext, setNamedQueries, setQueryLookupStrategyKey, setRepositoryInterface
public void setSolrOperations(SolrOperations operations)
SolrOperations
to be used to create Solr repositories.operations
- the operations to setpublic void afterPropertiesSet()
afterPropertiesSet
in interface InitializingBean
afterPropertiesSet
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-2013-2013 SpringSource. All Rights Reserved.