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,
Environment environment)
Creates a new
RepositoryConfigurationDelegate for the given RepositoryConfigurationSource and
ResourceLoader and Environment. |
| 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, Environment environment)
RepositoryConfigurationDelegate for the given RepositoryConfigurationSource and
ResourceLoader and Environment.configurationSource - must not be null.resourceLoader - must not be null.environment - must not be null.public List<BeanComponentDefinition> registerRepositoriesIn(BeanDefinitionRegistry registry, RepositoryConfigurationExtension extension)
BeanDefinitionRegistry.registry - extension - BeanComponentDefinitions for all repository bean definitions found.Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.