This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Spring and the fly likes injecting property through spring applicationContext.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "injecting property through spring applicationContext.xml" Watch "injecting property through spring applicationContext.xml" New topic
Author

injecting property through spring applicationContext.xml

Mathew Lee
Ranch Hand

Joined: Jun 08, 2009
Posts: 238
Hi,

can we inject null list collection object while injecting property through applicationContext.xml bean id definition within propery attribute. Any ideas, suggestions, sample code, resources, links highly appreciated. thanks in advance
Sean Clark
Rancher

Joined: Jul 15, 2009
Posts: 377

Hey,
You can use the <null /> tag, which should do as you want.

Sean


I love this place!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: injecting property through spring applicationContext.xml
 
Similar Threads
Injection in Spring
404 in using acegi security with Spring
Warnings with message resource
How do I initialize this managed property?
Spring with Hibernate Integration