Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes Spring and the fly likes Constructor injection for Set property Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Constructor injection for Set property" Watch "Constructor injection for Set property" New topic
Author

Constructor injection for Set property

kish kumar
Ranch Hand

Joined: Jan 03, 2008
Posts: 54

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

Joined: Feb 05, 2001
Posts: 17260
    
    6



Mark>


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
kish kumar
Ranch Hand

Joined: Jan 03, 2008
Posts: 54
Mark i really appreciate your answer
 
Have you tried LearnNowOnline? http://www.learnnowonline.com/
 
subject: Constructor injection for Set property