);
}
}
private ValidatorBase create(ValidateConfig validateConfig) {
ValidatorBase base = null;
ValidatorConfig validatorConfig = validateConfig.getValidatorConfig();
try {
base = (ValidatorBase)loader.loadClass(validatorConfig.getType()).newInstance();
} catch (Exception e) {
log.error("Could not create " + validatorConfig.getType() + " instance", e);