Update ref docs regarding RequiredAnnotationBPP registration

The RequiredAnnotationBeanPostProcessor is no longer automatically
registered via XML namespace elements.

Closes gh-26783
This commit is contained in:
Sviatoslav Hryb 2021-04-09 17:59:48 +03:00 committed by GitHub
parent 0f54585f05
commit f7606ba51b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 4 deletions

View File

@ -4690,10 +4690,7 @@ references and values even when you use the class outside of a container.
[TIP]
====
The {api-spring-framework}/beans/factory/annotation/RequiredAnnotationBeanPostProcessor.html[`RequiredAnnotationBeanPostProcessor`]
must be registered as a bean to enable support for the `@Required` annotation. Note,
however, that a `RequiredAnnotationBeanPostProcessor` bean is registered automatically
when using the `<context:annotation-config/>` or `<context:component-scan/>` XML
namespace elements.
must be registered as a bean to enable support for the `@Required` annotation.
====
[NOTE]