findStereotypedBean

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

Extension for BeanLocator.findBean providing a findStereotypedBean<Foo, Bar>() variant.

Return

The bean instance or null

Author

Alejandro Gomez

Since

1.0.0

Parameters

T

The bean type

Q

The stereotype type