getStereotypedBean

inline fun <T, Q : Annotation> BeanLocator.getStereotypedBean(): T

Extension for BeanLocator.getBean providing a getStereotypedBean<Foo, Bar>() variant.

Return

The bean instance

Author

Alejandro Gomez

Since

1.0.0

Parameters

T

The bean type

Q

The stereotype type