O'Reilly logo
  • Yijun Yuan thinks this is interesting:

@ComponentScan instructs Spring Boot to detect WebConfiguration as a @Configuration class and add its definitions to the context


Cover of Spring Boot Cookbook


So configurations do not have to construct a tree, but requires all entry methods to scan. Entry method include tests.