permaculture playing cards*
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 Java 8 in Action this week in the Java 8 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: 17249
    
    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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Constructor injection for Set property
 
Similar Threads
Is not autowire a another type of dependendcy injection?
Is this an example of Dependency Injection?
spring bean class
How to set default argument value when using Spring constructor injection
Dependency checking and constructor injection