abstract class BeanFactoryAnnotationUtils
Convenience methods performing bean lookups related to annotations, for example Spring's Qualifier annotation.
Author
Juergen Hoeller
Author
Chris Beams
Since
3.1.2
See Also
BeanFactoryUtils
BeanFactoryAnnotationUtils()
Convenience methods performing bean lookups related to annotations, for example Spring's Qualifier annotation. |
open static fun isQualifierMatch(qualifier: Predicate<String>, beanName: String, beanFactory: BeanFactory): Boolean
Check whether the named bean declares a qualifier of the given name. |
|
open static fun <T : Any> qualifiedBeanOfType(beanFactory: BeanFactory, beanType: Class<T>, qualifier: String): T
Obtain a bean of type |