diff --git a/spring-framework-reference/src/validation.xml b/spring-framework-reference/src/validation.xml
index 11c78f03bfa..7f58882cbd1 100644
--- a/spring-framework-reference/src/validation.xml
+++ b/spring-framework-reference/src/validation.xml
@@ -1297,7 +1297,8 @@ public class PersonForm {
Spring provides full support for the JSR-303 Bean Validation API.
This includes convenient support for bootstrapping a JSR-303 implementation as a Spring bean.
- This allows a javax.validation.Validator to be injected wherever validation is needed in your application.
+ This allows for a javax.validation.ValidatorFactory or javax.validation.Validator
+ to be injected wherever validation is needed in your application.
Use the LocalValidatorFactoryBean to configure a default JSR-303 Validator as a Spring bean:
@@ -1312,8 +1313,9 @@ public class PersonForm {
Injecting a Validator
- LocalValidatorFactoryBean implements both javax.validation.Validator and org.springframework.validation.Validator.
- You may inject a reference to one of these two interfaces into beans that need to invoke validation logic.
+ LocalValidatorFactoryBean implements both javax.validation.ValidatorFactory
+ and javax.validation.Validator, as well as Spring's org.springframework.validation.Validator.
+ You may inject a reference to either of these interfaces into beans that need to invoke validation logic.
Inject a reference to javax.validation.Validator if you prefer to work with the JSR-303 API directly: