Class SpringValidationExecutor

java.lang.Object
com.anaptecs.jeaf.validation.api.spring.SpringValidationExecutor

@Component public class SpringValidationExecutor extends Object
Class is intended to be used that in case of Spring Boot ValidationExecutor does not have to be injected into every POJO when using validation in POJO builders that e.g. are generated by JEAF Generator.
Author:
JEAF Development Team
  • Constructor Summary

    Constructors
    Constructor
    Description
    SpringValidationExecutor(com.anaptecs.jeaf.validation.api.ValidationExecutor pValidationExecutor)
    Operation is intended to be used by Spring during bootstrapping to set configured ValidationExecutor.
  • Method Summary

    Modifier and Type
    Method
    Description
    static com.anaptecs.jeaf.validation.api.ValidationExecutor
    Method returns ValidationExecutor that is configured for the current environment.

    Methods inherited from class java.lang.Object

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

    • SpringValidationExecutor

      public SpringValidationExecutor(com.anaptecs.jeaf.validation.api.ValidationExecutor pValidationExecutor)
      Operation is intended to be used by Spring during bootstrapping to set configured ValidationExecutor.
      Parameters:
      pReactiveValidationExecutor - Validation executor that is configured for this environment.
  • Method Details

    • getValidationExecutor

      public static com.anaptecs.jeaf.validation.api.ValidationExecutor getValidationExecutor()
      Method returns ValidationExecutor that is configured for the current environment.
      Returns:
      ValidationExecutor Available ValidationExecutor for the current environment. The method never returns null.