How to read xml file and inject bean reference using Spring Framework?