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:
parent
0f54585f05
commit
f7606ba51b
|
@ -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…
Reference in New Issue