Class SpringValidationExecutor
java.lang.Object
com.anaptecs.jeaf.validation.api.spring.SpringValidationExecutor
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
ConstructorsConstructorDescriptionSpringValidationExecutor(com.anaptecs.jeaf.validation.api.ValidationExecutor pValidationExecutor) Operation is intended to be used by Spring during bootstrapping to set configuredValidationExecutor. -
Method Summary
Modifier and TypeMethodDescriptionstatic com.anaptecs.jeaf.validation.api.ValidationExecutorMethod returnsValidationExecutorthat is configured for the current environment.
-
Constructor Details
-
SpringValidationExecutor
public SpringValidationExecutor(com.anaptecs.jeaf.validation.api.ValidationExecutor pValidationExecutor) Operation is intended to be used by Spring during bootstrapping to set configuredValidationExecutor.- Parameters:
pReactiveValidationExecutor- Validation executor that is configured for this environment.
-
-
Method Details
-
getValidationExecutor
public static com.anaptecs.jeaf.validation.api.ValidationExecutor getValidationExecutor()Method returnsValidationExecutorthat is configured for the current environment.- Returns:
ValidationExecutorAvailableValidationExecutorfor the current environment. The method never returns null.
-