Vasilen Donchev
Vasilen Donchev

Reputation: 1035

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

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's name? I intend to use such an approach for quick module integration.

Upvotes: 2

Views: 1101

Answers (1)

Bozho
Bozho

Reputation: 597026

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

Upvotes: 4

Related Questions