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

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


  private AnnotationMetaDataProvider provider;

  @BeforeMethod
  public void setUpProvider() {
    provider = new AnnotationMetaDataProvider(
        new ConstraintHelper(),
        new DefaultParameterNameProvider(),
        new AnnotationProcessingOptionsImpl()
    );
  }
View Full Code Here


  private BeanMetaDataManager beanMetaDataManager;

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

  private BeanMetaData<CustomerRepository> beanMetaData;

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

  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

  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.constraintMappings = newHashSet();

    // HV-302; don't load XmlMappingParser if not necessary
    if ( configurationState.getMappingStreams().isEmpty() ) {
      this.xmlMetaDataProvider = null;
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.