CosmosRepositoryConfigurationExtension Class
- java.
lang. Object - org.
springframework. data. repository. config. RepositoryConfigurationExtensionSupport - com.
azure. spring. data. cosmos. repository. config. CosmosRepositoryConfigurationExtension
- com.
- org.
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
Constructor Details
CosmosRepositoryConfigurationExtension
public CosmosRepositoryConfigurationExtension()
Creates an instance of CosmosRepositoryConfigurationExtension.
Method Details
getIdentifyingAnnotations
protected Collection
Overrides:
CosmosRepositoryConfigurationExtension.getIdentifyingAnnotations()getIdentifyingTypes
protected Collection
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:
postProcess
public void postProcess(BeanDefinitionBuilder builder, AnnotationRepositoryConfigurationSource source)
Overrides:
CosmosRepositoryConfigurationExtension.postProcess(BeanDefinitionBuilder builder, AnnotationRepositoryConfigurationSource source)Parameters:
registerBeansForRoot
public void registerBeansForRoot(BeanDefinitionRegistry registry, RepositoryConfigurationSource config)
Overrides:
CosmosRepositoryConfigurationExtension.registerBeansForRoot(BeanDefinitionRegistry registry, RepositoryConfigurationSource config)Parameters:
useRepositoryConfiguration
protected boolean useRepositoryConfiguration(RepositoryMetadata metadata)
Overrides:
CosmosRepositoryConfigurationExtension.useRepositoryConfiguration(RepositoryMetadata metadata)Parameters:
Applies to
Azure SDK for Java