@Singleton
public class ValidatorProvider
extends java.lang.Object
implements javax.inject.Provider<javax.validation.Validator>
Constructor and Description |
---|
ValidatorProvider(javax.validation.ConstraintValidatorFactory constraintValidatorFactory)
Deprecated.
as of 2.5.11. Use ValidatorProvider(ConstraintValidatorFactory, ApplicationLifecycle)
|
ValidatorProvider(javax.validation.ConstraintValidatorFactory constraintValidatorFactory,
ApplicationLifecycle lifecycle) |
Modifier and Type | Method and Description |
---|---|
javax.validation.Validator |
get() |
@Deprecated public ValidatorProvider(javax.validation.ConstraintValidatorFactory constraintValidatorFactory)
@Inject public ValidatorProvider(javax.validation.ConstraintValidatorFactory constraintValidatorFactory, ApplicationLifecycle lifecycle)