if (handler == null) {
logger.error("Could not handle element '" + ruleDefinition.getTagName() +
"'. Please make sure the proper validation rule definition handler is registered");
throw new ValidationConfigurationException("Could not handler element '" + ruleDefinition.getTagName() + "'");
}
handler.handle(ruleDefinition, configuration);
}
}
protected void handleMethodDefinition(Element methodDefinition, Class clazz, MutableBeanValidationConfiguration configuration) {
String methodName = methodDefinition.getAttribute(NAME_ATTR);