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,
org.springframework.core.io.ResourceLoader resourceLoader,
org.springframework.core.env.Environment environment)
Creates a new
RepositoryConfigurationDelegate for the given RepositoryConfigurationSource and
ResourceLoader and Environment. |
| Modifier and Type | Method and Description |
|---|---|
List<org.springframework.beans.factory.parsing.BeanComponentDefinition> |
registerRepositoriesIn(org.springframework.beans.factory.support.BeanDefinitionRegistry registry,
RepositoryConfigurationExtension extension)
Registers the found repositories in the given
BeanDefinitionRegistry. |
public RepositoryConfigurationDelegate(RepositoryConfigurationSource configurationSource, org.springframework.core.io.ResourceLoader resourceLoader, org.springframework.core.env.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<org.springframework.beans.factory.parsing.BeanComponentDefinition> registerRepositoriesIn(org.springframework.beans.factory.support.BeanDefinitionRegistry registry, RepositoryConfigurationExtension extension)
BeanDefinitionRegistry.registry - extension - BeanComponentDefinitions for all repository bean definitions found.Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.