The files of this type configure the main Spring Framework container for each application block.
spring.xml file of the project is specified in the cuba.springContextConfig application property.
Most of the configuration of the main container is performed using bean annotations (e.g.
@Inject and others), therefore the only mandatory part of spring.xml in an application project is the
context:component-scan element, which specifies the base Java package for lookup of annotated classes. For example: