<constraint-mappings
        xmlns="http://jboss.org/xml/ns/javax/validation/mapping"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation=
                "http://jboss.org/xml/ns/javax/validation/mapping validation-mapping-1.1.xsd" version="1.1">

    <bean class="org.hibernate.validator.test.internal.engine.methodvalidation.model.Address"
          ignore-annotations="true"/>
    <bean class="org.hibernate.validator.test.internal.engine.methodvalidation.model.Customer"
          ignore-annotations="true"/>

    <bean class="org.hibernate.validator.test.internal.engine.methodvalidation.service.CustomerRepository"
          ignore-annotations="true"/>
    <bean class="org.hibernate.validator.test.internal.engine.methodvalidation.service.CustomerRepositoryImpl"
          ignore-annotations="true">
        <constructor>
            <parameter type="foo">
                <constraint annotation="javax.validation.constraints.NotNull">
                    <message>xml configured not null constraint</message>
                </constraint>
            </parameter>
            <return-value ignore-annotations="false">
                <valid/>
            </return-value>
        </constructor>
    </bean>

    <bean class="org.hibernate.validator.test.internal.engine.methodvalidation.service.RepositoryBase"
          ignore-annotations="true"/>
</constraint-mappings>