spring-framework / org.springframework.web.method / ControllerAdviceBean / findAnnotatedBeans

findAnnotatedBeans

open static fun findAnnotatedBeans(applicationContext: ApplicationContext): MutableList<ControllerAdviceBean>

Find the names of beans annotated with ControllerAdvice in the given ApplicationContext and wrap them as ControllerAdviceBean instances.