Something like this fails:
<bean class="Foo" ignore-annotations="true"> <method name="bar"> <parameter type="Customer"> <parameter type="int"> <constraint annotation="javax.validation.constraints.Min"> <element name="value">1</element> </constraint> </parameter> </method> </bean>