spring-framework / org.springframework.context.annotation / ClassPathBeanDefinitionScanner / scan

scan

open fun scan(vararg basePackages: String): Int

Perform a scan within the specified base packages.

Parameters

basePackages - the packages to check for annotated classes

Return
number of beans registered