ReactiveCosmosRepositoryFactoryBean<T,S,K> Class

  • java.lang.Object
    • org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport
      • com.azure.spring.data.cosmos.repository.support.ReactiveCosmosRepositoryFactoryBean<T,S,K>

Type Parameters

T

the type of the repository.

S

the domain type the repository manages.

K

the type of the id of the entity the repository manages.

public class ReactiveCosmosRepositoryFactoryBean<T,S,K>
extends org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport<T,S,K>

Adapter for Springs FactoryBean interface to allow easy setup of reactive cosmos repository factories via Spring configuration.

Constructor Summary

Constructor Description
ReactiveCosmosRepositoryFactoryBean(Class<? extends T> repositoryInterface)

Creates a new RepositoryFactoryBeanSupport for the given repository interface.

Method Summary

Modifier and Type Method and Description
void afterPropertiesSet()
protected final org.springframework.data.repository.core.support.RepositoryFactorySupport createRepositoryFactory()
protected org.springframework.data.repository.core.support.RepositoryFactorySupport getFactoryInstance()

Return the factory instance.

protected void setMappingContext(MappingContext<?,?> mappingContext)
void setReactiveCosmosOperations(ReactiveCosmosOperations operations)

Set reactive CosmosDB operations

Methods inherited from java.lang.Object

Methods inherited from org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport

org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport.addRepositoryFactoryCustomizer org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport.afterPropertiesSet org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport.createDefaultQueryMethodEvaluationContextProvider org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport.createRepositoryFactory org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport.getEntityInformation org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport.getObject org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport.getObjectType org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport.getPersistentEntity org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport.getQueryMethods org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport.getRepositoryInformation org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport.isSingleton org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport.setApplicationEventPublisher org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport.setBeanClassLoader org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport.setBeanFactory org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport.setCustomImplementation org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport.setEvaluationContextProvider org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport.setLazyInit org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport.setMappingContext(org.springframework.data.mapping.context.MappingContext< org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport.setNamedQueries org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport.setQueryLookupStrategyKey org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport.setRepositoryBaseClass(java.lang.Class< org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport.setRepositoryFragments

Constructor Details

ReactiveCosmosRepositoryFactoryBean

public ReactiveCosmosRepositoryFactoryBean(Class repositoryInterface)

Creates a new RepositoryFactoryBeanSupport for the given repository interface.

Parameters:

repositoryInterface - must not be null.

Method Details

afterPropertiesSet

public void afterPropertiesSet()

Overrides:

ReactiveCosmosRepositoryFactoryBean<T,S,K>.afterPropertiesSet()

createRepositoryFactory

protected final RepositoryFactorySupport createRepositoryFactory()

Overrides:

ReactiveCosmosRepositoryFactoryBean<T,S,K>.createRepositoryFactory()

getFactoryInstance

protected RepositoryFactorySupport getFactoryInstance()

Return the factory instance.

Returns:

the factory instance

setMappingContext

protected void setMappingContext(MappingContext mappingContext)

Overrides:

ReactiveCosmosRepositoryFactoryBean<T,S,K>.setMappingContext(MappingContext<?,?> mappingContext)

Parameters:

mappingContext

setReactiveCosmosOperations

public void setReactiveCosmosOperations(ReactiveCosmosOperations operations)

Set reactive CosmosDB operations

Parameters:

operations - contains cosmos operations

Applies to