package it.mice.voila.runtime.validator;

import org.hibernate.validator.internal.engine.ValidatorContextImpl;
import org.hibernate.validator.internal.engine.ValidatorImpl;
import org.hibernate.validator.internal.metadata.BeanMetaDataManager;
import org.hibernate.validator.internal.metadata.core.ConstraintHelper;

//public class RuntimeValidatorContextImpl extends ValidatorContextImpl {
//	private final MessageInterpolator factoryMessageInterpolator;
//	private final TraversableResolver factoryTraversableResolver;
//	private final ConstraintValidatorFactory factoryConstraintValidatorFactory;
//	private final ConstraintHelper constraintHelper;
//	private final BeanMetaDataManager beanMetaDataCache;
//
//	public RuntimeValidatorContextImpl(
//			ConstraintValidatorFactory constraintValidatorFactory,
//			MessageInterpolator factoryMessageInterpolator,
//			TraversableResolver factoryTraversableResolver,
//			ConstraintHelper constraintHelper, BeanMetaDataManager beanMetaDataCache) {
//
////		super(constraintValidatorFactory, factoryMessageInterpolator,
////				factoryTraversableResolver, constraintHelper);
//		super();
//		this.factoryConstraintValidatorFactory = constraintValidatorFactory;
//		this.factoryMessageInterpolator = factoryMessageInterpolator;
//		this.factoryTraversableResolver = factoryTraversableResolver;
//		this.constraintHelper = constraintHelper;
//		this.beanMetaDataCache = beanMetaDataCache;
//	}
//
//	public Validator getValidator() {
//		return new ValidatorImpl(factoryConstraintValidatorFactory, factoryMessageInterpolator,
//				factoryTraversableResolver, constraintHelper, beanMetaDataCache);
//	}
//
//}
