qualifier
-
Dependency Injection (DI)Framework/SPRING 2020. 3. 5. 19:24
1. Overview for dependency injection, Spring can automatically wire up your objects together. So basically what'll happen is that Spring will look for a class that matches a given property. And it'll actually match by type, so the type could be either the class or the interface. Once Spring finds a match, then it'll automatically inject it. Hence it's called Autowired. 2. Dependency Injection wi..