public class CosmosRepositoryFactoryBean<T extends org.springframework.data.repository.Repository<S,ID>,S,ID extends Serializable>
extends org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport<T,S,ID>
FactoryBean interface to allow easy setup of cosmos repository factories via Spring
configuration.| Constructor and Description |
|---|
CosmosRepositoryFactoryBean(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() |
void |
setCosmosOperations(CosmosOperations operations)
Set cosmos operation
|
protected void |
setMappingContext(org.springframework.data.mapping.context.MappingContext<?,?> mappingContext) |
addRepositoryFactoryCustomizer, createDefaultQueryMethodEvaluationContextProvider, getEntityInformation, getObject, getObjectType, getPersistentEntity, getQueryMethods, getRepositoryInformation, isSingleton, setApplicationEventPublisher, setBeanClassLoader, setBeanFactory, setCustomImplementation, setEvaluationContextProvider, setLazyInit, setNamedQueries, setQueryLookupStrategyKey, setRepositoryBaseClass, setRepositoryFragmentspublic void setCosmosOperations(CosmosOperations operations)
operations - for 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,ID>,S,ID extends Serializable>Copyright © 2021 Microsoft Corporation. All rights reserved.