ConstraintValidatorFactory using a no-arg constructor.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final <T extends ConstraintValidator | getInstance(Class<T>
The class of the constraint validator to instantiate key)Implements jakarta. |
| public void | releaseInstance(ConstraintValidator<?, ?>
validator being released instance)Implements jakarta. ConstraintValidatorFactory that the instance is no longer
being used by the Jakarta Bean Validation provider.
|
| private <T> T | run(PrivilegedAction<T> action)
Runs the given privileged action, using a privileged block if required. |
| ConstraintValidatorFactoryImpl | back to summary |
|---|---|
| public ConstraintValidatorFactoryImpl() | |
| getInstance | back to summary |
|---|---|
| public final <T extends ConstraintValidator Implements jakarta.
| |
| releaseInstance | back to summary |
|---|---|
| public void releaseInstance(ConstraintValidator<?, ?> instance) Implements jakarta. Doc from jakarta. Signals
| |
| run | back to summary |
|---|---|
| private <T> T run(PrivilegedAction<T> action) Runs the given privileged action, using a privileged block if required. Note This must never be changed into a publicly available method to avoid execution of arbitrary privileged actions within HV's protection domain.
| |