Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Doubt in wiring up beans

 
Mahalakshmi Chandru
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I'm a newbie learning Spring frmaework using the book 'Beginning Spring Framework 2'..The concept of wiring the beans together has been explained using the below program in Chapter 1.



Could anyone(who has read this book) explain , when the methods : setOps and setWriter gets called..Thanks in advance.
 
Mahalakshmi Chandru
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All,
I got to unserstand as i kept studying the book. The setter() methods are used for dependency injection. Im clear now
 
Hong Anderson
Ranch Hand
Posts: 1936
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the update.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic