public interface RepositoryConfigurationExtension
RepositoryConfigurationExtensionSupport
Modifier and Type | Method and Description |
---|---|
String |
getDefaultNamedQueryLocation()
Returns the default location of the Spring Data named queries.
|
String |
getModuleName()
Returns the descriptive name of the module.
|
<T extends RepositoryConfigurationSource> |
getRepositoryConfigurations(T configSource,
ResourceLoader loader)
Deprecated.
call or implement
getRepositoryConfigurations(RepositoryConfigurationSource, ResourceLoader, boolean) instead. |
<T extends RepositoryConfigurationSource> |
getRepositoryConfigurations(T configSource,
ResourceLoader loader,
boolean strictMatchesOnly)
Returns all
RepositoryConfiguration s obtained through the given RepositoryConfigurationSource . |
String |
getRepositoryFactoryBeanClassName()
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,
RepositoryConfigurationSource config)
Callback to post process the
BeanDefinition 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.
|
String getModuleName()
@Deprecated <T extends RepositoryConfigurationSource> Collection<RepositoryConfiguration<T>> getRepositoryConfigurations(T configSource, ResourceLoader loader)
getRepositoryConfigurations(RepositoryConfigurationSource, ResourceLoader, boolean)
instead.RepositoryConfiguration
s obtained through the given RepositoryConfigurationSource
.configSource
- must not be null.loader
- must not be null.<T extends RepositoryConfigurationSource> Collection<RepositoryConfiguration<T>> getRepositoryConfigurations(T configSource, ResourceLoader loader, boolean strictMatchesOnly)
RepositoryConfiguration
s obtained through the given RepositoryConfigurationSource
.configSource
- loader
- strictMatchesOnly
- whether to return strict repository matches only. Handing in true will cause
the repository interfaces and domain types handled to be checked whether they are managed by the current
store.String getDefaultNamedQueryLocation()
String getRepositoryFactoryBeanClassName()
void registerBeansForRoot(BeanDefinitionRegistry registry, RepositoryConfigurationSource configurationSource)
registry
- source
- void postProcess(BeanDefinitionBuilder builder, RepositoryConfigurationSource config)
BeanDefinition
and tweak the configuration if necessary.builder
- will never be null.config
- will never be null.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–2020 Pivotal Software, Inc.. All rights reserved.