Interface ImplementationLookupConfiguration
- All Superinterfaces:
ImplementationDetectionConfiguration
Configuration that's used to lookup an implementation type for a repository or fragment interface.
- Since:
- 2.1
- Author:
- Oliver Gierke
-
Method Summary
Modifier and TypeMethodDescriptionReturns the bean name of the implementation to be looked up.Returns the simple name of the class to be looked up.booleanhasMatchingBeanName(BeanDefinition definition) Returns whether the bean name created for the given bean definition results in the one required.booleanmatches(BeanDefinition definition) Return whether the givenBeanDefinitionmatches the lookup configuration.Methods inherited from interface org.springframework.data.repository.config.ImplementationDetectionConfiguration
forFragment, forRepositoryConfiguration, generateBeanName, getBasePackages, getExcludeFilters, getImplementationPostfix, getMetadataReaderFactory
-
Method Details
-
getImplementationBeanName
String getImplementationBeanName()Returns the bean name of the implementation to be looked up.- Returns:
- must not be null.
-
getImplementationClassName
String getImplementationClassName()Returns the simple name of the class to be looked up.- Returns:
- must not be null.
-
matches
Return whether the givenBeanDefinitionmatches the lookup configuration.- Parameters:
definition- must not be null.- Returns:
-
hasMatchingBeanName
Returns whether the bean name created for the given bean definition results in the one required. Will be used to disambiguate between multipleBeanDefinitions matching in general.- Parameters:
definition- must not be null.- Returns:
- See Also:
-