Skip to content

Commit

Permalink
Update reference manual regarding deprecated @required annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-krav authored and lxbzmy committed Mar 26, 2022
1 parent 05a3175 commit fcd81c7
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/docs/asciidoc/core/core-beans.adoc
Expand Up @@ -4326,6 +4326,21 @@ container. An example is Spring's `RequiredAnnotationBeanPostProcessor` -- a
that JavaBean properties on beans that are marked with an (arbitrary) annotation are
actually (configured to be) dependency-injected with a value.

[NOTE]
====
The `@RequiredAnnotationBeanPostProcessor` is formally deprecated as of Spring Framework 5.1,
see NOTE in <<beans-required-annotation,`@Required`>> annotation for details.
====

[[beans-factory-extension-bpp-examples-aabpp]]
==== Example: The `AutowiredAnnotationBeanPostProcessor`

Using callback interfaces or annotations in conjunction with a custom
`BeanPostProcessor` implementation is a common means of extending the Spring IoC
container. An example is Spring's `AutowiredAnnotationBeanPostProcessor` -- a
`BeanPostProcessor` implementation that ships with the Spring distribution and autowires
annotated fields, setter methods, and arbitrary config methods.



[[beans-factory-extension-factory-postprocessors]]
Expand Down

0 comments on commit fcd81c7

Please sign in to comment.