In application context, bean with class as MapFactoryBean and property as sourceMap is returning MapFactoryBean object instead of LinkedHashMap.
Getting Class cast ex