未验证 提交 f7606ba5 编写于 作者: S Sviatoslav Hryb 提交者: GitHub

Update ref docs regarding RequiredAnnotationBPP registration

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

Closes gh-26783
上级 0f54585f
......@@ -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]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册