org.springframework.data.elasticsearch.repository.support
Class ElasticsearchRepositoryFactoryBean<T extends Repository<S,ID>,S,ID extends Serializable>
java.lang.Object
org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport<T,S,ID>
org.springframework.data.elasticsearch.repository.support.ElasticsearchRepositoryFactoryBean<T,S,ID>
- All Implemented Interfaces:
- Aware, BeanClassLoaderAware, FactoryBean<T>, InitializingBean, RepositoryFactoryInformation<S,ID>
public class ElasticsearchRepositoryFactoryBean<T extends Repository<S,ID>,S,ID extends Serializable>
- extends RepositoryFactoryBeanSupport<T,S,ID>
Spring FactoryBean implementation to ease container based configuration for
XML namespace and JavaConfig.
- Author:
- Rizwan Idrees, Mohsin Husen
| Methods inherited from class org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport |
getEntityInformation, getObject, getObjectType, getPersistentEntity, getQueryMethods, getRepositoryInformation, isSingleton, setBeanClassLoader, setCustomImplementation, setLazyInit, setMappingContext, setNamedQueries, setQueryLookupStrategyKey, setRepositoryInterface |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ElasticsearchRepositoryFactoryBean
public ElasticsearchRepositoryFactoryBean()
setElasticsearchOperations
public void setElasticsearchOperations(ElasticsearchOperations operations)
- Configures the
ElasticsearchOperations to be used to create Elasticsearch repositories.
- Parameters:
operations - the operations to set
afterPropertiesSet
public void afterPropertiesSet()
- Specified by:
afterPropertiesSet in interface InitializingBean- Overrides:
afterPropertiesSet in class RepositoryFactoryBeanSupport<T extends Repository<S,ID>,S,ID extends Serializable>
createRepositoryFactory
protected RepositoryFactorySupport createRepositoryFactory()
- Specified by:
createRepositoryFactory in class RepositoryFactoryBeanSupport<T extends Repository<S,ID>,S,ID extends Serializable>
Copyright © 2011-2014–2014 Pivotal Software, Inc.. All rights reserved.