Can I compose a Spring Configuration File from smaller ones?

前端 未结 7 1915
后悔当初
后悔当初 2021-02-13 02:38

I have a handful of projects that all use one project for the data model. Each of these projects has its own applicationContext.xml file with a bunch of repetitive data stuff w

7条回答
  •  不知归路
    2021-02-13 03:22

    Yes, you can do this via the import element.

    
    

    Each element's resource attribute is a valid path (e.g. classpath:foo.xml)

提交回复
热议问题