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(String className,
Iterable<String> basePackages)
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(String className, Iterable<String> basePackages)
className - must not be null.basePackages - must not be null.AbstractBeanDefinition of the custom implementation or null if none foundCopyright © 2011-2015–2016 Pivotal Software, Inc.. All rights reserved.