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