public Serializable intercept(Action<Serializable, Serializable> action,
Serializable model) throws Exception {
Action<Serializable, Serializable> srcAction = ActionContext.getContext().getAction();
if (srcAction instanceof Validatable) {
Validatable validationAction = (Validatable)srcAction;
Validator validator = validationAction.getValidator();
if (validator != null)
validator.validate(model);
}
return action.execute(model);
}