Module org.glassfish.hk2.utilities
Class ValidatorUtilities
java.lang.Object
org.glassfish.hk2.utilities.general.ValidatorUtilities
- Author:
- jwells
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic jakarta.validation.ValidatorGets a validator that can be used to validate that is initialized with HK2 specific utilities such as the message interpolator
-
Constructor Details
-
ValidatorUtilities
public ValidatorUtilities()
-
-
Method Details
-
getValidator
public static jakarta.validation.Validator getValidator()Gets a validator that can be used to validate that is initialized with HK2 specific utilities such as the message interpolator- Returns:
- A jakarta bean validator for validating constraints
-