Package org.hibernate.validator.testutil

Examples of org.hibernate.validator.testutil.DummyTraversableResolver


    );
  }

  private Validator configure(String mappingsUrl) {
    Configuration<?> configuration = ValidatorUtil.getConfiguration();
    configuration.traversableResolver( new DummyTraversableResolver() );
    configuration.addMapping( InheritanceMappingsTest.class.getResourceAsStream( mappingsUrl ) );

    ValidatorFactory validatorFactory = configuration.buildValidatorFactory();
    return validatorFactory.getValidator();
  }
View Full Code Here

TOP

Related Classes of org.hibernate.validator.testutil.DummyTraversableResolver

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.