This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Doubt in wiring up beans  RSS feed

 
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
Boost this thread!