Skip to content

Lifecycle Management

Randgalt edited this page Aug 24, 2012 · 26 revisions

There is much more to an object’s lifecyle than just allocation via new. In particular, there is an important anti-pattern regarding letting this “escape” from a constructor. This page describes the problem: http://www.javapractices.com/topic/TopicAction.do?Id=252