public class RepositoryConfigurationDelegate extends Object
RepositoryConfigurationSource
(currently either XML or annotations
are supported). The actual registration can then be triggered for different RepositoryConfigurationExtension
s.Constructor and Description |
---|
RepositoryConfigurationDelegate(RepositoryConfigurationSource configurationSource,
ResourceLoader resourceLoader)
Creates a new
RepositoryConfigurationDelegate for the given RepositoryConfigurationSource and
ResourceLoader . |
Modifier and Type | Method and Description |
---|---|
List<BeanComponentDefinition> |
registerRepositoriesIn(BeanDefinitionRegistry registry,
RepositoryConfigurationExtension extension)
Registers the found repositories in the given
BeanDefinitionRegistry . |
public RepositoryConfigurationDelegate(RepositoryConfigurationSource configurationSource, ResourceLoader resourceLoader)
RepositoryConfigurationDelegate
for the given RepositoryConfigurationSource
and
ResourceLoader
.configurationSource
- must not be null.resourceLoader
- must not be null.public List<BeanComponentDefinition> registerRepositoriesIn(BeanDefinitionRegistry registry, RepositoryConfigurationExtension extension)
BeanDefinitionRegistry
.registry
- extension
- BeanComponentDefinition
s for all repository bean definitions found.Copyright © 2011-2013-2014 Pivotal. All Rights Reserved.