This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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

JavaRanch » Java Forums » Frameworks » Spring
Bookmark "injecting property through spring applicationContext.xml" Watch "injecting property through spring applicationContext.xml" New topic

injecting property through spring applicationContext.xml

Mathew Lee
Ranch Hand

Joined: Jun 08, 2009
Posts: 238

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

Joined: Jul 15, 2009
Posts: 377

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


I love this place!
I agree. Here's the link:
subject: injecting property through spring applicationContext.xml
It's not a secret anymore!