I have a bean I want to create that looks like this:
Basically, I want to provide some wildcarded validation config locations and some exact locations.Code:<bean id="validatorFactory" class="org.springmodules.validation.commons.DefaultValidatorFactory"> <property name="validationConfigLocations"> <list> <value>classpath:com/somewhere/web/custom-forms*.xml</value> <value>classpath:com/somewhere/rules/spring/validator-rules.xml</value> </list> </property> </bean>
The above does not work.
Is there any out-of-the-box utility in Spring to merge together these entries (all those found by the wildcard and the single explicit one) into one resource array or do I have to create my own class to do this?
Thanks!


Reply With Quote