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,
ResourceLoader loader)
Returns all
RepositoryConfiguration s obtained through the given RepositoryConfigurationSource . |
String |
getRepositoryFactoryClassName()
Returns the name of the repository factory class to be used.
|
void |
postProcess(BeanDefinitionBuilder builder,
AnnotationRepositoryConfigurationSource config)
Callback to post process the
BeanDefinition built from annotations and tweak the configuration if
necessary. |
void |
postProcess(BeanDefinitionBuilder builder,
XmlRepositoryConfigurationSource config)
Callback to post process the
BeanDefinition built from XML and tweak the configuration if necessary. |
void |
registerBeansForRoot(BeanDefinitionRegistry registry,
RepositoryConfigurationSource configurationSource)
Callback to register additional bean definitions for a repositories root node.
|
<T extends RepositoryConfigurationSource> Collection<RepositoryConfiguration<T>> getRepositoryConfigurations(T configSource, ResourceLoader loader)
RepositoryConfiguration
s obtained through the given RepositoryConfigurationSource
.configSource
- must not be null.loader
- must not be null.String getDefaultNamedQueryLocation()
String getRepositoryFactoryClassName()
void registerBeansForRoot(BeanDefinitionRegistry registry, RepositoryConfigurationSource configurationSource)
registry
- source
- void postProcess(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(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 © 2011-2013-2014 Pivotal. All Rights Reserved.