@Autowired on Setter Methods | Dependency Injection | Spring Tutorial |Ch1|E5|

preview_player
Показать описание
in this session we will only explain @Autowired and how to be used with setter method injection
Рекомендации по теме
Комментарии
Автор

Maybe I'm wrong but, I don't see any problem with having a bloated contractor when we are getting our instance from the IOC container, so we are not dealing with creating a new instance of a big class, we are just telling the IOC container to give us a new instance. can you please give another example to make the benefit of setter injection more clear? good job btw

CodeWithNasir
visit shbcf.ru