spring-framework / org.springframework.beans.factory / getBeansWithAnnotation

getBeansWithAnnotation

inline fun <reified T : Annotation> ListableBeanFactory.getBeansWithAnnotation(): Map<String, Any>

Extension for ListableBeanFactory.getBeansWithAnnotation providing a getBeansWithAnnotation<Foo>() variant.

Author
Sebastien Deleuze

Since
5.0