Class MapRepositoryConfigurationExtension
java.lang.Object
org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport
org.springframework.data.keyvalue.repository.config.KeyValueRepositoryConfigurationExtension
org.springframework.data.map.repository.config.MapRepositoryConfigurationExtension
- All Implemented Interfaces:
RepositoryConfigurationExtension
RepositoryConfigurationExtension
for Map-based repositories.- Author:
- Christoph Strobl, Mark Paluch
-
Field Summary
Fields inherited from class org.springframework.data.keyvalue.repository.config.KeyValueRepositoryConfigurationExtension
KEY_VALUE_TEMPLATE_BEAN_REF_ATTRIBUTE, MAPPING_CONTEXT_BEAN_NAME
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected AbstractBeanDefinition
getDefaultKeyValueTemplateBeanDefinition
(RepositoryConfigurationSource configurationSource) Get the defaultRootBeanDefinition
forKeyValueTemplate
.protected String
Returns theKeyValueTemplate
bean name to potentially register a defaultKeyValueTemplate
bean if no bean is registered with the returned name.protected String
Methods inherited from class org.springframework.data.keyvalue.repository.config.KeyValueRepositoryConfigurationExtension
getIdentifyingTypes, getMappingContextBeanRef, getRepositoryFactoryBeanClassName, postProcess, registerBeansForRoot
Methods inherited from class org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport
getConfigurationInspectionClassLoader, getDefaultNamedQueryLocation, getIdentifyingAnnotations, getRepositoryConfiguration, getRepositoryConfigurations, getRepositoryConfigurations, hasBean, isStrictRepositoryCandidate, postProcess, postProcess, registerIfNotAlreadyRegistered, registerLazyIfNotAlreadyRegistered, registerWithSourceAndGeneratedBeanName, useRepositoryConfiguration
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.data.repository.config.RepositoryConfigurationExtension
getModuleIdentifier, getRepositoryAotProcessor
-
Constructor Details
-
MapRepositoryConfigurationExtension
public MapRepositoryConfigurationExtension()
-
-
Method Details
-
getModuleName
- Specified by:
getModuleName
in interfaceRepositoryConfigurationExtension
- Overrides:
getModuleName
in classKeyValueRepositoryConfigurationExtension
-
getModulePrefix
- Overrides:
getModulePrefix
in classKeyValueRepositoryConfigurationExtension
-
getDefaultKeyValueTemplateRef
Description copied from class:KeyValueRepositoryConfigurationExtension
Returns theKeyValueTemplate
bean name to potentially register a defaultKeyValueTemplate
bean if no bean is registered with the returned name.- Specified by:
getDefaultKeyValueTemplateRef
in classKeyValueRepositoryConfigurationExtension
- Returns:
- the default
KeyValueTemplate
bean name. Never null. - See Also:
-
getDefaultKeyValueTemplateBeanDefinition
protected AbstractBeanDefinition getDefaultKeyValueTemplateBeanDefinition(RepositoryConfigurationSource configurationSource) Description copied from class:KeyValueRepositoryConfigurationExtension
Get the defaultRootBeanDefinition
forKeyValueTemplate
.- Overrides:
getDefaultKeyValueTemplateBeanDefinition
in classKeyValueRepositoryConfigurationExtension
- Returns:
- null to explicitly not register a template.
- See Also:
-