File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Spring and the fly likes Constructor injection for Set property Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Spring
Reply 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: 17233
    
    1



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?
How to set default argument value when using Spring constructor injection
Is this an example of Dependency Injection?
Dependency checking and constructor injection
spring bean class