Currently, SpringWebProcessingContextBuilder only allows configuring beans by means of setting the location of an XML file.
But XML configuration is now on its way to deprecation so we should allow the configuration of Spring's ApplicationContext by directly specifying beans or, ideally, @Configuration classes.