public class ReactiveCosmosRepositoryFactoryBean<T extends org.springframework.data.repository.Repository<S,K>,S,K extends Serializable>
extends org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport<T,S,K>
FactoryBean interface to allow easy setup of reactive cosmos repository factories
via Spring configuration.| Constructor and Description |
|---|
ReactiveCosmosRepositoryFactoryBean(Class<? extends T> repositoryInterface)
Creates a new
RepositoryFactoryBeanSupport 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() |
protected void |
setMappingContext(org.springframework.data.mapping.context.MappingContext<?,?> mappingContext) |
void |
setReactiveCosmosOperations(ReactiveCosmosOperations operations)
Set reactive CosmosDB operations
|
addRepositoryFactoryCustomizer, createDefaultQueryMethodEvaluationContextProvider, getEntityInformation, getObject, getObjectType, getPersistentEntity, getQueryMethods, getRepositoryInformation, isSingleton, setApplicationEventPublisher, setBeanClassLoader, setBeanFactory, setCustomImplementation, setEvaluationContextProvider, setLazyInit, setNamedQueries, setQueryLookupStrategyKey, setRepositoryBaseClass, setRepositoryFragmentspublic void setReactiveCosmosOperations(ReactiveCosmosOperations operations)
operations - contains cosmos operationsprotected final org.springframework.data.repository.core.support.RepositoryFactorySupport createRepositoryFactory()
protected org.springframework.data.repository.core.support.RepositoryFactorySupport getFactoryInstance()
protected void setMappingContext(org.springframework.data.mapping.context.MappingContext<?,?> mappingContext)
public void afterPropertiesSet()
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanafterPropertiesSet in class org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport<T extends org.springframework.data.repository.Repository<S,K>,S,K extends Serializable>Copyright © 2021 Microsoft Corporation. All rights reserved.