Interface ImplementationDetectionConfiguration
- All Known Subinterfaces:
- ImplementationLookupConfiguration
public interface ImplementationDetectionConfiguration
Expresses configuration to be used to detect implementation classes for repositories and repository fragments.
- Since:
- 2.1
- Author:
- Oliver Gierke, Johannes Englmeier
- 
Method SummaryModifier and TypeMethodDescriptionforFragment(String fragmentInterfaceName) Returns the final lookup configuration for the given fully-qualified fragment interface name.Returns the final lookup configuration for the givenRepositoryConfiguration.default StringgenerateBeanName(BeanDefinition definition) Generate the bean name for the givenBeanDefinition.Return the base packages to be scanned for implementation types.Returns the exclude filters to be used for the implementation class scanning.Returns the postfix to be used to calculate the implementation type's name.Returns theMetadataReaderFactoryto be used for implementation class scanning.
- 
Method Details- 
getImplementationPostfixString getImplementationPostfix()Returns the postfix to be used to calculate the implementation type's name.- Returns:
- must not be null.
 
- 
getBasePackagesStreamable<String> getBasePackages()Return the base packages to be scanned for implementation types.- Returns:
- must not be null.
 
- 
getExcludeFiltersStreamable<TypeFilter> getExcludeFilters()Returns the exclude filters to be used for the implementation class scanning.- Returns:
- must not be null.
 
- 
getMetadataReaderFactoryMetadataReaderFactory getMetadataReaderFactory()Returns theMetadataReaderFactoryto be used for implementation class scanning.- Returns:
- must not be null.
 
- 
generateBeanNameGenerate the bean name for the givenBeanDefinition.- Parameters:
- definition- must not be null.
- Returns:
 
- 
forFragmentReturns the final lookup configuration for the given fully-qualified fragment interface name.- Parameters:
- fragmentInterfaceName- must not be null or empty.
- Returns:
 
- 
forRepositoryConfigurationdefault ImplementationLookupConfiguration forRepositoryConfiguration(RepositoryConfiguration<?> config) Returns the final lookup configuration for the givenRepositoryConfiguration.- Parameters:
- config- must not be null.
- Returns:
 
 
-