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.boolean
hasMatchingBeanName
(org.springframework.beans.factory.config.BeanDefinition definition) Returns whether the bean name created for the given bean definition results in the one required.boolean
matches
(org.springframework.beans.factory.config.BeanDefinition definition) Return whether the givenBeanDefinition
matches 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
boolean matches(org.springframework.beans.factory.config.BeanDefinition definition) Return whether the givenBeanDefinition
matches the lookup configuration.- Parameters:
definition
- must not be null.- Returns:
-
hasMatchingBeanName
boolean hasMatchingBeanName(org.springframework.beans.factory.config.BeanDefinition definition) Returns whether the bean name created for the given bean definition results in the one required. Will be used to disambiguate between multipleBeanDefinition
s matching in general.- Parameters:
definition
- must not be null.- Returns:
- See Also:
-