package it.mice.voila.runtime.validator;

import org.hibernate.validator.internal.engine.ValidatorFactoryImpl;
import org.hibernate.validator.internal.metadata.core.ConstraintHelper;



//public class RuntimeValidatorFactoryImpl extends ValidatorFactoryImpl {
//	private final MessageInterpolator messageInterpolator;
//	private final TraversableResolver traversableResolver;
//	private final ConstraintValidatorFactory constraintValidatorFactory;
//	private final ConstraintHelper constraintHelper;
////	private final BeanMetaDataCache beanMetaDataCache;
//
//	public RuntimeValidatorFactoryImpl(ConfigurationState configurationState) {
//		super(configurationState);
//		
//		this.messageInterpolator = configurationState.getMessageInterpolator();
//		this.constraintValidatorFactory = configurationState.getConstraintValidatorFactory();
//		this.traversableResolver = configurationState.getTraversableResolver();
//		this.constraintHelper = new ConstraintHelper();
////		this.beanMetaDataCache = new BeanMetaDataCache();
//	}
//
//	public ValidatorContext usingContext() {
//		return new RuntimeValidatorContextImpl(
//				constraintValidatorFactory,
//				messageInterpolator,
//				traversableResolver,
//				constraintHelper,
//				beanMetaDataCache
//		);
//	}
//
//}
