Class BeanValidationHelper

java.lang.Object
org.eclipse.persistence.jaxb.BeanValidationHelper

public final class BeanValidationHelper extends Object
INTERNAL: Asynchronously starts validation.xml file processing when created. Holds a map of classes with BV annotations.
Author:
Marcel Valovy, Dmitry Kornilov
  • Constructor Details

    • BeanValidationHelper

      public BeanValidationHelper()
      Creates a new instance. Starts asynchronous parsing of validation.xml if it exists.
  • Method Details

    • getConstraintsMap

      public Map<Class<?>,Boolean> getConstraintsMap()
      Lazy getter for constraintsOnClasses property. Waits until the map is returned by async XML reader.