Version 4 by Gavin
on Oct 16, 2006 17:07.

compared with
Version 5 by Gavin
on Nov 08, 2006 17:10.

This line was removed.
This word was removed. This word was added.
This line was added.

Changes (1)

View Page History
h2. Composition Factories

These factories provide additional methods beyond those of convenience factories, and return an instance of the factory, instead of an instance of the plugin, although an instance of the plugin remains a private member of the object returned by the factory. This form of run-time subclassing has been named dependency injection by [Martin Fowler|].

A convenience factory might be used to create the plugin instance stored in the object returned by the composition factory.