Examples of ConstraintHelper


Examples of org.hibernate.validator.internal.metadata.core.ConstraintHelper

  private BeanMetaDataManager metaDataManager;

  @BeforeMethod
  public void setUpBeanMetaDataManager() {
    metaDataManager = new BeanMetaDataManager(
        new ConstraintHelper(),
        new ExecutableHelper( new TypeResolutionHelper() ),
        new DefaultParameterNameProvider(),
        Collections.<MetaDataProvider>emptyList()
    );
  }
View Full Code Here

Examples of org.hibernate.validator.internal.metadata.core.ConstraintHelper

  public ValidatorFactoryImpl(ConfigurationState configurationState) {
    this.messageInterpolator = configurationState.getMessageInterpolator();
    this.traversableResolver = configurationState.getTraversableResolver();
    this.parameterNameProvider = configurationState.getParameterNameProvider();
    this.beanMetaDataManagerMap = Collections.synchronizedMap( new IdentityHashMap<ParameterNameProvider, BeanMetaDataManager>() );
    this.constraintHelper = new ConstraintHelper();
    this.typeResolutionHelper = new TypeResolutionHelper();
    this.executableHelper = new ExecutableHelper( typeResolutionHelper );

    // HV-302; don't load XmlMappingParser if not necessary
    if ( configurationState.getMappingStreams().isEmpty() ) {
View Full Code Here

Examples of org.hibernate.validator.internal.metadata.core.ConstraintHelper

  public ValidatorFactoryImpl(ConfigurationState configurationState) {
    this.messageInterpolator = configurationState.getMessageInterpolator();
    this.traversableResolver = configurationState.getTraversableResolver();
    this.parameterNameProvider = configurationState.getParameterNameProvider();
    this.beanMetaDataManagerMap = Collections.synchronizedMap( new IdentityHashMap<ParameterNameProvider, BeanMetaDataManager>() );
    this.constraintHelper = new ConstraintHelper();
    this.constraintMappings = newHashSet();

    // HV-302; don't load XmlMappingParser if not necessary
    if ( configurationState.getMappingStreams().isEmpty() ) {
      this.xmlMetaDataProvider = null;
View Full Code Here

Examples of org.hibernate.validator.metadata.ConstraintHelper

  public ValidatorFactoryImpl(ConfigurationState configurationState) {
    this.messageInterpolator = configurationState.getMessageInterpolator();
    this.constraintValidatorFactory = configurationState.getConstraintValidatorFactory();
    this.traversableResolver = configurationState.getTraversableResolver();
    this.constraintHelper = new ConstraintHelper();
    this.beanMetaDataCache = new BeanMetaDataCache();

    initBeanMetaData( configurationState.getMappingStreams() );
  }
View Full Code Here

Examples of org.hibernate.validator.metadata.ConstraintHelper

  public ValidatorFactoryImpl(ConfigurationState configurationState) {

    this.messageInterpolator = configurationState.getMessageInterpolator();
    this.constraintValidatorFactory = configurationState.getConstraintValidatorFactory();
    this.traversableResolver = configurationState.getTraversableResolver();
    this.constraintHelper = new ConstraintHelper();
    this.beanMetaDataCache = new BeanMetaDataCache();

    boolean tmpFailFast = false;

    // HV-302; don't load XmlMappingParser if not necessary
View Full Code Here

Examples of org.hibernate.validator.metadata.ConstraintHelper

  public ValidatorFactoryImpl(ConfigurationState configurationState) {
    this.messageInterpolator = configurationState.getMessageInterpolator();
    this.constraintValidatorFactory = configurationState.getConstraintValidatorFactory();
    this.traversableResolver = configurationState.getTraversableResolver();
    this.constraintHelper = new ConstraintHelper();
    this.beanMetaDataCache = new BeanMetaDataCache();

    initBeanMetaData( configurationState.getMappingStreams() );
  }
View Full Code Here

Examples of org.hibernate.validator.metadata.ConstraintHelper

  public ValidatorFactoryImpl(ConfigurationState configurationState) {

    this.messageInterpolator = configurationState.getMessageInterpolator();
    this.constraintValidatorFactory = configurationState.getConstraintValidatorFactory();
    this.traversableResolver = configurationState.getTraversableResolver();
    this.constraintHelper = new ConstraintHelper();
    this.beanMetaDataCache = new BeanMetaDataCache();

    // HV-302; don't load XmlMappingParser if not necessary
    if ( !configurationState.getMappingStreams().isEmpty() ) {
      initXmlConfiguration( configurationState.getMappingStreams() );
View Full Code Here

Examples of org.hibernate.validator.metadata.ConstraintHelper

  public ValidatorFactoryImpl(ConfigurationState configurationState) {
    this.messageInterpolator = configurationState.getMessageInterpolator();
    this.constraintValidatorFactory = configurationState.getConstraintValidatorFactory();
    this.traversableResolver = configurationState.getTraversableResolver();
    this.constraintHelper = new ConstraintHelper();
    this.beanMetaDataCache = new BeanMetaDataCache();

    initBeanMetaData( configurationState.getMappingStreams() );
  }
View Full Code Here

Examples of org.hibernate.validator.metadata.ConstraintHelper

  public ValidatorFactoryImpl(ConfigurationState configurationState) {

    this.messageInterpolator = configurationState.getMessageInterpolator();
    this.constraintValidatorFactory = configurationState.getConstraintValidatorFactory();
    this.traversableResolver = configurationState.getTraversableResolver();
    this.constraintHelper = new ConstraintHelper();
    this.beanMetaDataCache = new BeanMetaDataCache();

    boolean tmpFailFast = false;

    // HV-302; don't load XmlMappingParser if not necessary
View Full Code Here

Examples of org.hibernate.validator.metadata.ConstraintHelper

  public ValidatorFactoryImpl(ConfigurationState configurationState) {

    this.messageInterpolator = configurationState.getMessageInterpolator();
    this.constraintValidatorFactory = configurationState.getConstraintValidatorFactory();
    this.traversableResolver = configurationState.getTraversableResolver();
    this.constraintHelper = new ConstraintHelper();
    this.beanMetaDataCache = new BeanMetaDataCache();

    // HV-302; don't load XmlMappingParser if not necessary
    if ( !configurationState.getMappingStreams().isEmpty() ) {
      initXmlConfiguration( configurationState.getMappingStreams() );
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.