* @param configuration The bean validation configuration to manipulate.
*/
protected void handleClassAnnotations(Class clazz, MutableBeanValidationConfiguration configuration) {
Annotation[] annotations = clazz.getAnnotations();
for (Annotation annotation : annotations) {
ClassValidationAnnotationHandler handler = handlerRegistry.findClassHanlder(annotation, clazz);
if (handler == null) {
logger.warn("No hanlder is defined for annotation '" + annotation.annotationType().getName() +
"'... Annotation will be ignored...");
} else {
handler.handleAnnotation(annotation, clazz, configuration);
}
}
}