findStereotypedBeanDefinition

inline fun <T, Q : Annotation> BeanDefinitionRegistry.findStereotypedBeanDefinition(): BeanDefinition<T>?

Extension for BeanDefinitionRegistry.findBeanDefinition providing a findStereotypedBeanDefinition<Foo, Bar>() variant.

Return

The BeanDefinition or null if not present

Author

Alejandro Gomez

Since

1.0.0

Parameters

T

The bean type

Q

The stereotype type