Used BeanFactoryPostProcessor
Replace class of bean in spring context using BeanFactoryPostProcessor
Used PropertyPlaceHolderConfigurer to set values from property file