public class CustomRepositoryImplementationDetector extends Object
Repository| Constructor and Description |
|---|
CustomRepositoryImplementationDetector(MetadataReaderFactory metadataReaderFactory,
Environment environment,
ResourceLoader resourceLoader)
Creates a new
CustomRepositoryImplementationDetector from the given
MetadataReaderFactory,
Environment and ResourceLoader. |
| Modifier and Type | Method and Description |
|---|---|
AbstractBeanDefinition |
detectCustomImplementation(RepositoryConfiguration<?> configuration)
Tries to detect a custom implementation for a repository bean by classpath scanning.
|
AbstractBeanDefinition |
detectCustomImplementation(String className,
Iterable<String> basePackages,
Iterable<TypeFilter> excludeFilters)
Tries to detect a custom implementation for a repository bean by classpath scanning.
|
public CustomRepositoryImplementationDetector(MetadataReaderFactory metadataReaderFactory, Environment environment, ResourceLoader resourceLoader)
CustomRepositoryImplementationDetector from the given
MetadataReaderFactory,
Environment and ResourceLoader.metadataReaderFactory - must not be null.environment - must not be null.resourceLoader - must not be null.public AbstractBeanDefinition detectCustomImplementation(RepositoryConfiguration<?> configuration)
configuration - the RepositoryConfiguration to consider.AbstractBeanDefinition of the custom implementation or null if none found.public AbstractBeanDefinition detectCustomImplementation(String className, Iterable<String> basePackages, Iterable<TypeFilter> excludeFilters)
className - must not be null.basePackages - must not be null.AbstractBeanDefinition of the custom implementation or null if none found.Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.