Package io.jmix.core.impl.validation
Class JmixLocalValidatorFactoryBean
java.lang.Object
org.springframework.validation.beanvalidation.SpringValidatorAdapter
org.springframework.validation.beanvalidation.LocalValidatorFactoryBean
io.jmix.core.impl.validation.JmixLocalValidatorFactoryBean
- All Implemented Interfaces:
jakarta.validation.Validator
,jakarta.validation.ValidatorFactory
,AutoCloseable
,org.springframework.beans.factory.Aware
,org.springframework.beans.factory.DisposableBean
,org.springframework.beans.factory.InitializingBean
,org.springframework.context.ApplicationContextAware
,org.springframework.validation.SmartValidator
,org.springframework.validation.Validator
public class JmixLocalValidatorFactoryBean
extends org.springframework.validation.beanvalidation.LocalValidatorFactoryBean
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static class
protected static class
protected static class
protected static class
-
Field Summary
Modifier and TypeFieldDescriptionprotected jakarta.validation.ClockProvider
protected jakarta.validation.MessageInterpolator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
postProcessConfiguration
(jakarta.validation.Configuration<?> configuration) protected void
registerFutureOrPresentValidators
(org.hibernate.validator.cfg.context.ConstraintDefinitionContext<jakarta.validation.constraints.FutureOrPresent> context) protected void
registerFutureValidators
(org.hibernate.validator.cfg.context.ConstraintDefinitionContext<jakarta.validation.constraints.Future> context) protected void
registerPastOrPresentValidators
(org.hibernate.validator.cfg.context.ConstraintDefinitionContext<jakarta.validation.constraints.PastOrPresent> context) protected void
registerPastValidators
(org.hibernate.validator.cfg.context.ConstraintDefinitionContext<jakarta.validation.constraints.Past> context) void
setClockProvider
(jakarta.validation.ClockProvider clockProvider) void
setJmixMessageInterpolator
(jakarta.validation.MessageInterpolator messageInterpolator) Methods inherited from class org.springframework.validation.beanvalidation.LocalValidatorFactoryBean
afterPropertiesSet, close, destroy, getClockProvider, getConstraintValidatorFactory, getMessageInterpolator, getParameterNameProvider, getTraversableResolver, getValidationPropertyMap, getValidator, setApplicationContext, setConfigurationInitializer, setConstraintValidatorFactory, setMappingLocations, setMessageInterpolator, setParameterNameDiscoverer, setProviderClass, setTraversableResolver, setValidationMessageSource, setValidationProperties, setValidationPropertyMap, setValidationProviderResolver, unwrap, usingContext
Methods inherited from class org.springframework.validation.beanvalidation.SpringValidatorAdapter
determineErrorCode, determineField, forExecutables, getArgumentsForConstraint, getConstraintsForClass, getRejectedValue, getResolvableField, processConstraintViolations, requiresMessageFormat, supports, validate, validate, validate, validateProperty, validateValue, validateValue
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.validation.Validator
validateObject
-
Field Details
-
clockProvider
protected jakarta.validation.ClockProvider clockProvider -
jmixMessageInterpolator
protected jakarta.validation.MessageInterpolator jmixMessageInterpolator
-
-
Constructor Details
-
JmixLocalValidatorFactoryBean
public JmixLocalValidatorFactoryBean()
-
-
Method Details
-
setClockProvider
public void setClockProvider(jakarta.validation.ClockProvider clockProvider) -
setJmixMessageInterpolator
public void setJmixMessageInterpolator(jakarta.validation.MessageInterpolator messageInterpolator) -
postProcessConfiguration
protected void postProcessConfiguration(jakarta.validation.Configuration<?> configuration) - Overrides:
postProcessConfiguration
in classorg.springframework.validation.beanvalidation.LocalValidatorFactoryBean
-
registerPastValidators
protected void registerPastValidators(org.hibernate.validator.cfg.context.ConstraintDefinitionContext<jakarta.validation.constraints.Past> context) -
registerPastOrPresentValidators
protected void registerPastOrPresentValidators(org.hibernate.validator.cfg.context.ConstraintDefinitionContext<jakarta.validation.constraints.PastOrPresent> context) -
registerFutureValidators
protected void registerFutureValidators(org.hibernate.validator.cfg.context.ConstraintDefinitionContext<jakarta.validation.constraints.Future> context) -
registerFutureOrPresentValidators
protected void registerFutureOrPresentValidators(org.hibernate.validator.cfg.context.ConstraintDefinitionContext<jakarta.validation.constraints.FutureOrPresent> context)
-