Skip to content

Commit

Permalink
Update ref docs regarding RequiredAnnotationBPP registration
Browse files Browse the repository at this point in the history
The RequiredAnnotationBeanPostProcessor is no longer automatically
registered via XML namespace elements.

Closes gh-26783
  • Loading branch information
hrybs committed Apr 9, 2021
1 parent 0f54585 commit f7606ba
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/docs/asciidoc/core/core-beans.adoc
Expand Up @@ -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]
Expand Down

0 comments on commit f7606ba

Please sign in to comment.