• 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: 3132
136
Clojure IntelliJ IDE Java
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic