package it.mice.voila.runtime.validator;

import org.hibernate.validator.HibernateValidator;
import org.hibernate.validator.internal.engine.ValidatorFactoryImpl;

import javax.validation.ValidatorFactory;
import javax.validation.spi.ConfigurationState;

public class RuntimeHibernateValidator extends HibernateValidator {

	@Override
	public ValidatorFactory buildValidatorFactory(
			ConfigurationState configurationState) {
		return new ValidatorFactoryImpl(configurationState);
	}
}
