public interface RepositoryConfigurationExtension
RepositoryConfigurationExtensionSupport| Modifier and Type | Method and Description |
|---|---|
String |
getDefaultNamedQueryLocation()
Returns the default location of the Spring Data named queries.
|
<T extends RepositoryConfigurationSource> |
getRepositoryConfigurations(T configSource,
org.springframework.core.io.ResourceLoader loader)
Returns all
RepositoryConfigurations obtained through the given RepositoryConfigurationSource. |
String |
getRepositoryFactoryClassName()
Returns the name of the repository factory class to be used.
|
void |
postProcess(org.springframework.beans.factory.support.BeanDefinitionBuilder builder,
AnnotationRepositoryConfigurationSource config)
Callback to post process the
BeanDefinition built from annotations and tweak the configuration if
necessary. |
void |
postProcess(org.springframework.beans.factory.support.BeanDefinitionBuilder builder,
RepositoryConfigurationSource config)
Callback to post process the
BeanDefinition and tweak the configuration if necessary. |
void |
postProcess(org.springframework.beans.factory.support.BeanDefinitionBuilder builder,
XmlRepositoryConfigurationSource config)
Callback to post process the
BeanDefinition built from XML and tweak the configuration if necessary. |
void |
registerBeansForRoot(org.springframework.beans.factory.support.BeanDefinitionRegistry registry,
RepositoryConfigurationSource configurationSource)
Callback to register additional bean definitions for a repositories root node.
|
<T extends RepositoryConfigurationSource> Collection<RepositoryConfiguration<T>> getRepositoryConfigurations(T configSource, org.springframework.core.io.ResourceLoader loader)
RepositoryConfigurations obtained through the given RepositoryConfigurationSource.configSource - must not be null.loader - must not be null.String getDefaultNamedQueryLocation()
String getRepositoryFactoryClassName()
void registerBeansForRoot(org.springframework.beans.factory.support.BeanDefinitionRegistry registry,
RepositoryConfigurationSource configurationSource)
registry - source - void postProcess(org.springframework.beans.factory.support.BeanDefinitionBuilder builder,
RepositoryConfigurationSource config)
BeanDefinition and tweak the configuration if necessary.builder - will never be null.config - will never be null.void postProcess(org.springframework.beans.factory.support.BeanDefinitionBuilder builder,
AnnotationRepositoryConfigurationSource config)
BeanDefinition built from annotations and tweak the configuration if
necessary.builder - will never be null.config - will never be null.void postProcess(org.springframework.beans.factory.support.BeanDefinitionBuilder builder,
XmlRepositoryConfigurationSource config)
BeanDefinition built from XML and tweak the configuration if necessary.builder - will never be null.config - will never be null.Copyright © 2018. All rights reserved.