getStereotypedBeanDefinition

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

Extension for BeanDefinitionRegistry.getBeanDefinition providing a getStereotypedBeanDefinition<Foo, Bar>() variant.

Return

The BeanDefinition

Author

Alejandro Gomez

Since

1.0.0

Parameters

T

The bean type

Q

The stereotype type