docs: public static ApplicationContext contextMergedBeans(String xmlPath, Map<String, ?> extraBeans) {
  	    final DefaultListableBeanFactory parentBeanFactory = buildListableBeanFactory(extraBeans);
  		
  		//loads the xml and add definitions in the context
  		GenericApplicationContext parentContext = new GenericApplicationContext(parentBeanFactory);
  		XmlBeanDefinitionReader xmlReader = new XmlBeanDefinitionReader(parentContext);
  		xmlReader.loadBeanDefinitions(xmlPath);
  		
  		//refreshed the context to create class and make autowires
  		parentContext.refresh();
  		
  		//return the created context
  		return parentContext;
  	}