|
Spring Data Commons | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RepositoryConfigurationExtension
SPI to implement store specific extension to the repository bean definition registration process.
RepositoryConfigurationExtensionSupport
Method Summary | ||
---|---|---|
String |
getDefaultNamedQueryLocation()
Returns the default location of the Spring Data named queries. |
|
|
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. |
Method Detail |
---|
<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.
|
Spring Data Commons | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |