Skip to content

Update documentation for <context:annotation-config/>#26782

Merged
sbrannen merged 1 commit intospring-projects:masterfrom
hrybs:Fix-annotation-config-description
Apr 9, 2021
Merged

Update documentation for <context:annotation-config/>#26782
sbrannen merged 1 commit intospring-projects:masterfrom
hrybs:Fix-annotation-config-description

Conversation

@hrybs
Copy link
Copy Markdown
Contributor

@hrybs hrybs commented Apr 9, 2021

The official documentation contains incorrect description on <context:annotation-config/>:

  1. No RequiredAnnotationBeanPostProcessor is automatically registered.
    According to source code of AnnotationConfigBeanDefinitionParser class we see that there is a using of AnnotationConfigUtils class. Investigating the code of letter one we see that there is registration of 5 BeanPostProcessor and BeanFactoryPostProcessor classes.
  2. There are 2 additional processor that are registered when using aforementioned annotation
  3. AutowiredAnnotationBeanPostProcessor also processes @lookup annotation.
  4. CommonAnnotationBeanPostProcessor also processes JAX-WS @WebServiceRef and EJB3 @ejb annotations

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Apr 9, 2021
@sbrannen sbrannen self-assigned this Apr 9, 2021
@sbrannen sbrannen added type: documentation A documentation task and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Apr 9, 2021
@sbrannen sbrannen added this to the 5.3.6 milestone Apr 9, 2021
@sbrannen sbrannen changed the title fix annotation-config description Update documentation for <context:annotation-config/> Apr 9, 2021
@sbrannen sbrannen merged commit 35ea33e into spring-projects:master Apr 9, 2021
sbrannen added a commit that referenced this pull request Apr 9, 2021
@sbrannen
Copy link
Copy Markdown
Member

sbrannen commented Apr 9, 2021

This has been merged into master in 35ea33e and revised in 0f54585.

Thanks

lxbzmy pushed a commit to lxbzmy/spring-framework that referenced this pull request Mar 26, 2022
lxbzmy pushed a commit to lxbzmy/spring-framework that referenced this pull request Mar 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: documentation A documentation task

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants