Hi,
I'm
testing the Spring 3.1 wiring in the Properties collection, had no problem with Map & Collection.
For Properties, I had to use Enumeration for iteration purpose, don't know if there is any other way to iterate over Properties.
This is the xml configuration file :
And this is the Saxophone class : -
I'm getting this error :-
As Saxophone implements the Instrument interface, all references of Saxophones passed into the hank bean should be of type Instrument but the error points out that <props> element are still in
String.
How to override it ? I implemented Map and Collection and had no problem with them. The change in the bean name from GUITAR to guitar or guitara has no effect on the error message.