if (PropertyValidationAnnotationHandler.class.isInstance(handler)) {
propertyHandlers.add(handler);
} else if (ClassValidationAnnotationHandler.class.isInstance(handler)) {
classHandlers.add(handler);
} else if (ValidationAnnotationHandlersBundle.class.isInstance(handler)) {
ValidationAnnotationHandlersBundle source = (ValidationAnnotationHandlersBundle) handler;
propertyHandlers.addAll(source.getPropertyHandlers());
classHandlers.addAll(source.getClassHandlers());
} else {
throw new ValidationConfigurationException("class '" + className + "' is not a property hanlder nor a class handler");
}
}
registryBuilder.addPropertyValue(