Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Constructor injection for Set property

 
kish kumar
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi
I want to initialize a set in a spring bean using constructor injection. i defined a constructor in the spring bean which takes set as a parameter. Please let me know the syntax for initializing the set.

regards
Kishore
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Mark>
 
kish kumar
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mark i really appreciate your answer
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic