public class ReactiveElasticsearchRepositoryFactoryBean<T extends org.springframework.data.repository.Repository<S,ID>,S,ID>
extends org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport<T,S,ID>
FactoryBean to create
ReactiveElasticsearchRepository instances.ReactiveSortingRepositoryOBJECT_TYPE_ATTRIBUTE| Constructor and Description |
|---|
ReactiveElasticsearchRepositoryFactoryBean(Class<? extends T> repositoryInterface)
Creates a new
ReactiveElasticsearchRepositoryFactoryBean for the given repository interface. |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
protected org.springframework.data.repository.core.support.RepositoryFactorySupport |
createRepositoryFactory() |
protected org.springframework.data.repository.core.support.RepositoryFactorySupport |
getFactoryInstance(ReactiveElasticsearchOperations operations)
Creates and initializes a
RepositoryFactorySupport instance. |
protected void |
setMappingContext(org.springframework.data.mapping.context.MappingContext<?,?> mappingContext) |
void |
setReactiveElasticsearchOperations(ReactiveElasticsearchOperations operations)
Configures the
ReactiveElasticsearchOperations to be used. |
addRepositoryFactoryCustomizer, createDefaultQueryMethodEvaluationContextProvider, getEntityInformation, getObject, getObjectType, getPersistentEntity, getQueryMethods, getRepositoryInformation, isSingleton, setApplicationEventPublisher, setBeanClassLoader, setBeanFactory, setCustomImplementation, setEvaluationContextProvider, setLazyInit, setNamedQueries, setQueryLookupStrategyKey, setRepositoryBaseClass, setRepositoryFragmentspublic ReactiveElasticsearchRepositoryFactoryBean(Class<? extends T> repositoryInterface)
ReactiveElasticsearchRepositoryFactoryBean for the given repository interface.repositoryInterface - must not be null.public void setReactiveElasticsearchOperations(@Nullable ReactiveElasticsearchOperations operations)
ReactiveElasticsearchOperations to be used.operations - the operations to setprotected void setMappingContext(org.springframework.data.mapping.context.MappingContext<?,?> mappingContext)
protected final org.springframework.data.repository.core.support.RepositoryFactorySupport createRepositoryFactory()
protected org.springframework.data.repository.core.support.RepositoryFactorySupport getFactoryInstance(ReactiveElasticsearchOperations operations)
RepositoryFactorySupport instance.operations - public void afterPropertiesSet()
afterPropertiesSet in interface InitializingBeanafterPropertiesSet in class org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport<T extends org.springframework.data.repository.Repository<S,ID>,S,ID>Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.