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>
implements org.springframework.context.ApplicationContextAware
| Modifier and Type | Field and Description |
|---|---|
private org.springframework.context.ApplicationContext |
applicationContext |
private boolean |
mappingContextConfigured |
private CosmosOperations |
operations |
| Constructor and Description |
|---|
CosmosRepositoryFactoryBean(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) |
void |
setCosmosOperations(CosmosOperations operations) |
protected void |
setMappingContext(org.springframework.data.mapping.context.MappingContext<?,?> mappingContext) |
getEntityInformation, getObject, getObjectType, getPersistentEntity, getQueryMethods, getRepositoryInformation, isSingleton, setApplicationEventPublisher, setBeanClassLoader, setBeanFactory, setCustomImplementation, setEvaluationContextProvider, setLazyInit, setNamedQueries, setQueryLookupStrategyKey, setRepositoryBaseClass, setRepositoryFragmentsprivate org.springframework.context.ApplicationContext applicationContext
private CosmosOperations operations
private boolean mappingContextConfigured
@Autowired public void setCosmosOperations(CosmosOperations 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,ID>,S,ID extends Serializable>Copyright © 2020 Microsoft. All rights reserved.