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>
implements org.springframework.context.ApplicationContextAware
| Modifier and Type | Field and Description |
|---|---|
private org.springframework.context.ApplicationContext |
applicationContext |
private ReactiveCosmosOperations |
cosmosOperations |
private boolean |
mappingContextConfigured |
| Constructor and Description |
|---|
ReactiveCosmosRepositoryFactoryBean(Class<? extends T> repositoryInterface) |
| 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(org.springframework.context.ApplicationContext applicationContext) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
protected void |
setMappingContext(org.springframework.data.mapping.context.MappingContext<?,?> mappingContext) |
void |
setReactiveCosmosOperations(ReactiveCosmosOperations operations) |
getEntityInformation, getObject, getObjectType, getPersistentEntity, getQueryMethods, getRepositoryInformation, isSingleton, setApplicationEventPublisher, setBeanClassLoader, setBeanFactory, setCustomImplementation, setEvaluationContextProvider, setLazyInit, setNamedQueries, setQueryLookupStrategyKey, setRepositoryBaseClass, setRepositoryFragmentsprivate org.springframework.context.ApplicationContext applicationContext
private ReactiveCosmosOperations cosmosOperations
private boolean mappingContextConfigured
@Autowired public void setReactiveCosmosOperations(ReactiveCosmosOperations operations)
protected final org.springframework.data.repository.core.support.RepositoryFactorySupport createRepositoryFactory()
protected org.springframework.data.repository.core.support.RepositoryFactorySupport getFactoryInstance(org.springframework.context.ApplicationContext applicationContext)
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionprotected 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 © 2020 Microsoft. All rights reserved.