开发者

How to load entire folder of xml files for configuration in Spring?

开发者 https://www.devze.com 2023-04-12 23:09 出处:网络
Is there a way to tell Spring to look up for xml files with configuration (application context, beans, etc) in entire folder by specifying only the folder\'开发者_JS百科s name? I intend to use such an

Is there a way to tell Spring to look up for xml files with configuration (application context, beans, etc) in entire folder by specifying only the folder'开发者_JS百科s name? I intend to use such an approach for quick module integration.


<import resource="folder/*.xml" />
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号