I have a spring.xml defined as per below:
I'm a little bit perplex I must say. In the example you provide praveen it will work because the attribute in your class is of type String but in the example of yapkm01 the attribut is of type Point and you will get the exception mentioned. In order to be able to use idref it seems that he would have to introduce yet another attribute of type String, here "message", and then the code would look something like this: