Browse Source

Update ref docs regarding RequiredAnnotationBPP registration

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

Closes gh-26783
pull/26785/head
Sviatoslav Hryb 5 years ago committed by GitHub
parent
commit
f7606ba51b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      src/docs/asciidoc/core/core-beans.adoc

5
src/docs/asciidoc/core/core-beans.adoc

@ -4690,10 +4690,7 @@ references and values even when you use the class outside of a container. @@ -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]

Loading…
Cancel
Save