Skip to content

Document BeanFactoryPostProcessor implementation constraints [SPR-7466] #12124

@spring-projects-issues

Description

@spring-projects-issues

Chris Beams opened SPR-7466 and commented

#12108, while not actually a bug in Spring per se, was ultimately related to a BeanFactoryPostProcessor implementation in Spring Security OAuth that was misbehaving by prematurely instantiating bean instances, ultimately subverting the normal bean post-processing lifecycle (specifically, AutowiredAnnotationBeanPostProcessor).

Document the constraints when implementing BFPPs, such that future authors don't make this mistake.

JavaDoc for BFPP, and relevant section(s) within the reference documentation should be updated.


Attachments:

Issue Links:

Referenced from: commits 9a088b8

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions