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:
AutoCloseable
,javax.validation.Validator
,javax.validation.ValidatorFactory
,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 javax.validation.ClockProvider
protected javax.validation.MessageInterpolator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
postProcessConfiguration
(javax.validation.Configuration<?> configuration) protected void
registerFutureOrPresentValidators
(org.hibernate.validator.cfg.context.ConstraintDefinitionContext<javax.validation.constraints.FutureOrPresent> context) protected void
registerFutureValidators
(org.hibernate.validator.cfg.context.ConstraintDefinitionContext<javax.validation.constraints.Future> context) protected void
registerPastOrPresentValidators
(org.hibernate.validator.cfg.context.ConstraintDefinitionContext<javax.validation.constraints.PastOrPresent> context) protected void
registerPastValidators
(org.hibernate.validator.cfg.context.ConstraintDefinitionContext<javax.validation.constraints.Past> context) void
setClockProvider
(javax.validation.ClockProvider clockProvider) void
setJmixMessageInterpolator
(javax.validation.MessageInterpolator messageInterpolator) Methods inherited from class org.springframework.validation.beanvalidation.LocalValidatorFactoryBean
afterPropertiesSet, close, destroy, 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 javax.validation.ValidatorFactory
getClockProvider
-
Field Details
-
clockProvider
protected javax.validation.ClockProvider clockProvider -
jmixMessageInterpolator
protected javax.validation.MessageInterpolator jmixMessageInterpolator
-
-
Constructor Details
-
JmixLocalValidatorFactoryBean
public JmixLocalValidatorFactoryBean()
-
-
Method Details
-
setClockProvider
public void setClockProvider(javax.validation.ClockProvider clockProvider) -
setJmixMessageInterpolator
public void setJmixMessageInterpolator(javax.validation.MessageInterpolator messageInterpolator) -
postProcessConfiguration
protected void postProcessConfiguration(javax.validation.Configuration<?> configuration) - Overrides:
postProcessConfiguration
in classorg.springframework.validation.beanvalidation.LocalValidatorFactoryBean
-
registerPastValidators
protected void registerPastValidators(org.hibernate.validator.cfg.context.ConstraintDefinitionContext<javax.validation.constraints.Past> context) -
registerPastOrPresentValidators
protected void registerPastOrPresentValidators(org.hibernate.validator.cfg.context.ConstraintDefinitionContext<javax.validation.constraints.PastOrPresent> context) -
registerFutureValidators
protected void registerFutureValidators(org.hibernate.validator.cfg.context.ConstraintDefinitionContext<javax.validation.constraints.Future> context) -
registerFutureOrPresentValidators
protected void registerFutureOrPresentValidators(org.hibernate.validator.cfg.context.ConstraintDefinitionContext<javax.validation.constraints.FutureOrPresent> context)
-