*
* @param clazz The class to which the validation configuration should be created.
* @return The newly created {@link BeanValidationConfiguration}.
*/
protected BeanValidationConfiguration createValidationConfiguration(Class clazz) {
MutableBeanValidationConfiguration configuration = new DefaultBeanValidationConfiguration();
handleClassAnnotations(clazz, configuration);
handlePropertyAnnotations(clazz, configuration);
handleMethodAnnotations(clazz, configuration);
return configuration;
}