Initialize collection object (not for property injection)
Hi All
I am using Spring for some time now and I guess I am missing something
I am trying to create collection with default values. I know collection are not "true" beans as they do not have the set and get methods. I also know that I can create a collection with their constractor but that seems not clean for me as spring will have to create the collection pass it to the constractor and then the collection object will have to run over the items and recreat the collection.
In short is there a way to create a collection (or map for this matter) with default values?
Thanks in advance
Nehemia
mmmm, I think I will order a cup of coffee in this beautiful spring day