We can import XML configurations
with @ImportResource
annotation.
We can specify the XML file locations with the locations argument, or with its alias, the value argument:
@Configuration
@ImportResource("classpath:/annotations.xml")
class VehicleFactoryConfig {}