CosmosRepositoryConfigurationExtension Class

  • java.lang.Object
    • org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport
      • com.azure.spring.data.cosmos.repository.config.CosmosRepositoryConfigurationExtension

public class CosmosRepositoryConfigurationExtension
extends org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport

Configuration extension class based on RepositoryConfigurationExtensionSupport provide options to set repository support.

Constructor Summary

Constructor Description
CosmosRepositoryConfigurationExtension()

Creates an instance of CosmosRepositoryConfigurationExtension.

Method Summary

Modifier and Type Method and Description
protected Collection<Class<>> getIdentifyingAnnotations()
protected Collection<Class<?>> getIdentifyingTypes()
String getModuleName()
String getModulePrefix()
String getRepositoryFactoryBeanClassName()

Return the name of the repository factory bean class.

void postProcess(BeanDefinitionBuilder builder, AnnotationRepositoryConfigurationSource source)
void registerBeansForRoot(BeanDefinitionRegistry registry, RepositoryConfigurationSource config)
protected boolean useRepositoryConfiguration(RepositoryMetadata metadata)

Methods inherited from java.lang.Object

Methods inherited from org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport

org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport.<T>getRepositoryConfiguration org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport.<T>getRepositoryConfigurations org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport.<T>getRepositoryConfigurations org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport.getConfigurationInspectionClassLoader org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport.getDefaultNamedQueryLocation org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport.getIdentifyingAnnotations org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport.getIdentifyingTypes org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport.getModuleName org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport.getModulePrefix org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport.hasBean(java.lang.Class< org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport.isStrictRepositoryCandidate org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport.postProcess org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport.postProcess org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport.postProcess org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport.registerBeansForRoot org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport.registerIfNotAlreadyRegistered org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport.registerLazyIfNotAlreadyRegistered org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport.registerWithSourceAndGeneratedBeanName org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport.useRepositoryConfiguration

Constructor Details

CosmosRepositoryConfigurationExtension

public CosmosRepositoryConfigurationExtension()

Creates an instance of CosmosRepositoryConfigurationExtension.

Method Details

getIdentifyingAnnotations

protected Collection> getIdentifyingAnnotations()

Overrides:

CosmosRepositoryConfigurationExtension.getIdentifyingAnnotations()

getIdentifyingTypes

protected Collection> getIdentifyingTypes()

Overrides:

CosmosRepositoryConfigurationExtension.getIdentifyingTypes()

getModuleName

public String getModuleName()

Overrides:

CosmosRepositoryConfigurationExtension.getModuleName()

getModulePrefix

public String getModulePrefix()

Overrides:

CosmosRepositoryConfigurationExtension.getModulePrefix()

getRepositoryFactoryBeanClassName

public String getRepositoryFactoryBeanClassName()

Return the name of the repository factory bean class.

Returns:

String value of bean name

postProcess

public void postProcess(BeanDefinitionBuilder builder, AnnotationRepositoryConfigurationSource source)

Overrides:

CosmosRepositoryConfigurationExtension.postProcess(BeanDefinitionBuilder builder, AnnotationRepositoryConfigurationSource source)

Parameters:

builder
source

registerBeansForRoot

public void registerBeansForRoot(BeanDefinitionRegistry registry, RepositoryConfigurationSource config)

Overrides:

CosmosRepositoryConfigurationExtension.registerBeansForRoot(BeanDefinitionRegistry registry, RepositoryConfigurationSource config)

Parameters:

registry
config

useRepositoryConfiguration

protected boolean useRepositoryConfiguration(RepositoryMetadata metadata)

Overrides:

CosmosRepositoryConfigurationExtension.useRepositoryConfiguration(RepositoryMetadata metadata)

Parameters:

metadata

Applies to