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

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


    if ( softRefLimit == null ) {
      softRefLimit = DEFAULT_SOFT_REF_LIMIT;
    }

    this.beanMetaDataCache = new SoftLimitMRUCache<Class<?>, BeanMetaData<?>>( hardRefLimit, softRefLimit );
    AnnotationProcessingOptions annotationProcessingOptions = getAnnotationProcessingOptionsFromNonDefaultProviders();
    AnnotationMetaDataProvider defaultProvider = new AnnotationMetaDataProvider(
        constraintHelper,
        annotationProcessingOptions
    );
    this.metaDataProviders.add( defaultProvider );
View Full Code Here


  /**
   * @return returns the annotation ignores from the non annotation based meta data providers
   */
  private AnnotationProcessingOptions getAnnotationProcessingOptionsFromNonDefaultProviders() {
    AnnotationProcessingOptions options = new AnnotationProcessingOptions();
    for ( MetaDataProvider metaDataProvider : metaDataProviders ) {
      options.merge( metaDataProvider.getAnnotationProcessingOptions() );
    }

    return options;
  }
View Full Code Here

  private final Map<Class<?>, List<Member>> cascadedMembers;
  private final Map<Class<?>, List<Class<?>>> defaultSequences;

  public XmlMappingParser(ConstraintHelper constraintHelper) {
    this.constraintHelper = constraintHelper;
    this.annotationProcessingOptions = new AnnotationProcessingOptions();
    this.constraintMap = newHashMap();
    this.cascadedMembers = newHashMap();
    this.defaultSequences = newHashMap();
  }
View Full Code Here

    this.annotationProcessingOptions = annotationProcessingOptions;
    configuredBeans = new SoftLimitMRUCache<Class<?>, BeanConfiguration<?>>();
  }

  public AnnotationProcessingOptions getAnnotationProcessingOptions() {
    return new AnnotationProcessingOptions();
  }
View Full Code Here

  private final Map<Class<?>, List<Member>> cascadedMembers;
  private final Map<Class<?>, List<Class<?>>> defaultSequences;

  public XmlMappingParser(ConstraintHelper constraintHelper) {
    this.constraintHelper = constraintHelper;
    this.annotationProcessingOptions = new AnnotationProcessingOptions();
    this.constraintMap = newHashMap();
    this.cascadedMembers = newHashMap();
    this.defaultSequences = newHashMap();
  }
View Full Code Here

    );
  }

  @Override
  public AnnotationProcessingOptions getAnnotationProcessingOptions() {
    return new AnnotationProcessingOptions();
  }
View Full Code Here

    );
  }

  @Override
  public AnnotationProcessingOptions getAnnotationProcessingOptions() {
    return new AnnotationProcessingOptions();
  }
View Full Code Here

    this.cascadeConfig = newHashMap();
    this.methodCascadeConfig = newHashMap();
    this.configuredClasses = newHashSet();
    this.defaultGroupSequences = newHashMap();
    this.defaultGroupSequenceProviders = newHashMap();
    this.annotationProcessingOptions = new AnnotationProcessingOptions();
  }
View Full Code Here

    SCHEMAS_BY_VERSION.put( "1.1", "META-INF/validation-mapping-1.1.xsd" );
  }

  public XmlMappingParser(ConstraintHelper constraintHelper) {
    this.constraintHelper = constraintHelper;
    this.annotationProcessingOptions = new AnnotationProcessingOptions();
    this.constraintMap = newHashMap();
    this.cascadedMembers = newHashMap();
    this.defaultSequences = newHashMap();
  }
View Full Code Here

        SOFT,
        EnumSet.of( IDENTITY_COMPARISONS )
    );


    AnnotationProcessingOptions annotationProcessingOptions = getAnnotationProcessingOptionsFromNonDefaultProviders();
    AnnotationMetaDataProvider defaultProvider = new AnnotationMetaDataProvider(
        constraintHelper,
        parameterNameProvider,
        annotationProcessingOptions
    );
View Full Code Here

TOP

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

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.