* Adds the validation configuration files to the list already held in the validator factory bean configuration.
* @param configurableListableBeanFactory the bean factory
*/
public void postProcessBeanFactory(ConfigurableListableBeanFactory configurableListableBeanFactory) {
if (configurableListableBeanFactory.containsBean(validatorFactoryBeanName)) {
BeanDefinition validatorFactoryBeanDefinition =
configurableListableBeanFactory.getBeanDefinition(validatorFactoryBeanName);
MutablePropertyValues propertyValues = validatorFactoryBeanDefinition.getPropertyValues();
PropertyValue propertyValue = propertyValues.getPropertyValue("validationConfigLocations");
//value is expected to be a list.
List existingValidationConfigLocations = (List) propertyValue.getValue();
existingValidationConfigLocations.addAll(validationConfigLocations);