@Requires(missingBeans=javax.validation.ValidatorFactory.class) @Internal @Singleton public class DefaultValidatorFactory extends java.lang.Object implements javax.validation.ValidatorFactory
Modifier | Constructor and Description |
---|---|
protected |
DefaultValidatorFactory(Validator validator,
ValidatorConfiguration configuration)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
javax.validation.ClockProvider |
getClockProvider() |
javax.validation.ConstraintValidatorFactory |
getConstraintValidatorFactory() |
javax.validation.MessageInterpolator |
getMessageInterpolator() |
javax.validation.ParameterNameProvider |
getParameterNameProvider() |
javax.validation.TraversableResolver |
getTraversableResolver() |
javax.validation.Validator |
getValidator() |
<T> T |
unwrap(java.lang.Class<T> type) |
javax.validation.ValidatorContext |
usingContext() |
protected DefaultValidatorFactory(Validator validator, ValidatorConfiguration configuration)
validator
- The validator.configuration
- The configuration.public javax.validation.Validator getValidator()
getValidator
in interface javax.validation.ValidatorFactory
public javax.validation.ValidatorContext usingContext()
usingContext
in interface javax.validation.ValidatorFactory
public javax.validation.MessageInterpolator getMessageInterpolator()
getMessageInterpolator
in interface javax.validation.ValidatorFactory
public javax.validation.TraversableResolver getTraversableResolver()
getTraversableResolver
in interface javax.validation.ValidatorFactory
public javax.validation.ConstraintValidatorFactory getConstraintValidatorFactory()
getConstraintValidatorFactory
in interface javax.validation.ValidatorFactory
public javax.validation.ParameterNameProvider getParameterNameProvider()
getParameterNameProvider
in interface javax.validation.ValidatorFactory
public javax.validation.ClockProvider getClockProvider()
getClockProvider
in interface javax.validation.ValidatorFactory
public <T> T unwrap(java.lang.Class<T> type)
unwrap
in interface javax.validation.ValidatorFactory
public void close()
close
in interface java.lang.AutoCloseable
close
in interface javax.validation.ValidatorFactory