Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Setter Injection V/S Constructor Injection

 
Vaibhav G Garg
Ranch Hand
Posts: 143
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would like to know when we should be using Setter Injection?


And, in which case, we should use Constructor Injection?
 
Tim Cooke
Sheriff
Pie
Posts: 2974
123
Clojure IntelliJ IDE Java
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic