private void validate(Object model, TransitionDefinition transition) {
if (logger.isDebugEnabled()) {
logger.debug("Validating model");
}
ValidationHelper helper = new ValidationHelper(model, requestContext, eventId, getModelExpression()
.getExpressionString(), expressionParser, messageCodesResolver, mappingResults, validationHintResolver);
helper.setValidator(this.validator);
helper.validate();
}