aspose file tools*
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
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!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: injecting property through spring applicationContext.xml