public class ElasticsearchRepositoryFactoryBean<T extends Repository<S,ID>,S,ID extends Serializable> extends RepositoryFactoryBeanSupport<T,S,ID>
FactoryBean implementation to ease container based configuration for
XML namespace and JavaConfig.| Constructor and Description |
|---|
ElasticsearchRepositoryFactoryBean() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
protected RepositoryFactorySupport |
createRepositoryFactory() |
void |
setElasticsearchOperations(ElasticsearchOperations operations)
Configures the
ElasticsearchOperations to be used to create Elasticsearch repositories. |
getEntityInformation, getObject, getObjectType, getPersistentEntity, getQueryMethods, getRepositoryInformation, isSingleton, setBeanClassLoader, setCustomImplementation, setLazyInit, setMappingContext, setNamedQueries, setQueryLookupStrategyKey, setRepositoryInterfacepublic void setElasticsearchOperations(ElasticsearchOperations operations)
ElasticsearchOperations to be used to create Elasticsearch repositories.operations - the operations to setpublic void afterPropertiesSet()
afterPropertiesSet in interface InitializingBeanafterPropertiesSet in class RepositoryFactoryBeanSupport<T extends Repository<S,ID>,S,ID extends Serializable>protected RepositoryFactorySupport createRepositoryFactory()
createRepositoryFactory in class RepositoryFactoryBeanSupport<T extends Repository<S,ID>,S,ID extends Serializable>Copyright © 2011-2014–2015 Pivotal Software, Inc.. All rights reserved.