Spring Component Scanning | Baeldung
https://www.baeldung.com/spring-component-scanning21.08.2018 · When working with Spring, we can annotate our classes in order to make them into Spring beans. Furthermore, we can tell Spring where to search for these annotated classes, as not all of them must become beans in this particular run. Of course, there are some defaults for component scanning, but we can also customize the packages for search.