public class CustomRepositoryImplementationDetector extends Object
Repository| Constructor and Description |
|---|
CustomRepositoryImplementationDetector(org.springframework.core.type.classreading.MetadataReaderFactory metadataReaderFactory,
org.springframework.core.env.Environment environment,
org.springframework.core.io.ResourceLoader resourceLoader)
Creates a new
CustomRepositoryImplementationDetector from the given
MetadataReaderFactory,
Environment and ResourceLoader. |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.beans.factory.support.AbstractBeanDefinition |
detectCustomImplementation(RepositoryConfiguration<?> configuration)
Tries to detect a custom implementation for a repository bean by classpath scanning.
|
org.springframework.beans.factory.support.AbstractBeanDefinition |
detectCustomImplementation(String className,
Iterable<String> basePackages,
Iterable<org.springframework.core.type.filter.TypeFilter> excludeFilters)
Tries to detect a custom implementation for a repository bean by classpath scanning.
|
public CustomRepositoryImplementationDetector(org.springframework.core.type.classreading.MetadataReaderFactory metadataReaderFactory,
org.springframework.core.env.Environment environment,
org.springframework.core.io.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 org.springframework.beans.factory.support.AbstractBeanDefinition detectCustomImplementation(RepositoryConfiguration<?> configuration)
configuration - the RepositoryConfiguration to consider.AbstractBeanDefinition of the custom implementation or null if none found.public org.springframework.beans.factory.support.AbstractBeanDefinition detectCustomImplementation(String className, Iterable<String> basePackages, Iterable<org.springframework.core.type.filter.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.