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|http://www.martinfowler.com/articles/injection.html].
A convenience factory might be used to create the plugin instance stored in the object returned by the composition factory.