Announcement Announcement Module
Collapse
No announcement yet.
Supporting DisposableBean on prototype and @Configurable beans using weak references Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Supporting DisposableBean on prototype and @Configurable beans using weak references

    The fact that prototype and @Configurable beans don't have their destroy-method invoked has always seemed at best counter-intuitive and at worst a source of major memory leaks.

    But this problem can be solved easily using weak references. Doing so would restore a huge chunk of lost "symmetry" in Spring.

    See https://jira.springsource.org/browse/SPR-9391 for more details on how it would work.

    What do people think?
Working...
X