Skip to content

Clarify BeanFactory#containsBean Javadoc [SPR-8690] #13332

@spring-projects-issues

Description

@spring-projects-issues

Michal Bachman opened SPR-8690 and commented

The JavaDoc for BeanFactory.containsBean says "is {@link #getBean} able to obtain a bean instance for the given name?". For Beans declared abstract, the containsBean method returns true, but getBean can't obtain the bean, resulting in BeanIsAbstractException.


Referenced from: commits 10be0ef

Metadata

Metadata

Assignees

No one assigned

    Labels

    in: coreIssues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions