Spring Framework
  1. Spring Framework
  2. SPR-10311

Reference documentation declares inner beans being prototypes, which is wrong

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 3.2.1
    • Fix Version/s: 3.2.2
    • Component/s: [Documentation]
    • Labels:
      None
    • Last commented by a User:
      false

      Description

      The reference documentation on inner beans states inner beans become prototyped beans which is wrong.

      I gave it a quick try and in contrast to what is documented in the section for prototype beans, the inner bean indeed gets destruction callbacks applied. I guess the original statement intended to describe multiple instances being created. But if the bean does not really become a prototype scoped bean we shouldn't use the analogy here.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Phil Webb
            Reporter:
            Oliver Gierke
            Last updater:
            Phil Webb
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Days since last comment:
              1 year, 9 weeks, 2 days ago