All Downloads are FREE. Search and download functionalities are using the official Maven repository.

lection-validation.1.0.source-code.collection-validator-config.xml Maven / Gradle / Ivy

The newest version!
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">

       <bean class="org.biins.validation.collection.constraints.support.CollectionConstraintValidatorSupport"/>

       <bean class="org.springframework.validation.beanvalidation.LocalValidatorFactoryBean">
              <property name="messageInterpolator" ref="collectionValidatorMessageInterpolator"/>
       </bean>

       <bean id="collectionValidatorMessageInterpolator" class="org.biins.validation.collection.constraints.support.ElementsMessageInterpolatorFactoryBean">
              <property name="messageSource" ref="collectionValidatorMessageSource"/>
       </bean>

       <bean id="collectionValidatorMessageSource" class="org.springframework.context.support.ResourceBundleMessageSource">
              <property name="basename" value="CollectionValidationMessages"/>
       </bean>

</beans>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy