Package org.hibernate.validator.internal.metadata.core

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


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

    List<MetaDataProvider> metaDataProviders = newArrayList();

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


  public ValidatorFactoryImpl(ConfigurationState configurationState) {

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

    boolean tmpFailFast = false;

    List<MetaDataProvider> metaDataProviders = newArrayList();
View Full Code Here

  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

  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

  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.executableHelper = new ExecutableHelper();
    this.constraintMappings = newHashSet();

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

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

    List<MetaDataProvider> metaDataProviders = newArrayList();

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

  public ValidatorFactoryImpl(ConfigurationState configurationState) {
    this.messageInterpolator = configurationState.getMessageInterpolator();
    this.traversableResolver = configurationState.getTraversableResolver();
    this.parameterNameProvider = configurationState.getParameterNameProvider();
    ConstraintHelper constraintHelper = new ConstraintHelper();

    List<MetaDataProvider> metaDataProviders = newArrayList();

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

  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

  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

            Key.class,
            Item.class
        )
    );
    BeanMetaDataManager beanMetaDataManager = new BeanMetaDataManager(
        new ConstraintHelper(),
        new ExecutableHelper( new TypeResolutionHelper() ),
        new DefaultParameterNameProvider(),
        Collections.<MetaDataProvider>emptyList()
    );
View Full Code Here

TOP

Related Classes of org.hibernate.validator.internal.metadata.core.ConstraintHelper

Copyright © 2018 www.massapicom. 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.