Class BeanValidationHelper


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

      Constructors 
      Constructor Description
      BeanValidationHelper()
      Creates a new instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.Class<?>,​java.lang.Boolean> getConstraintsMap()
      Lazy getter for constraintsOnClasses property.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BeanValidationHelper

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

      • getConstraintsMap

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