Abstract FactoryThe book has now been published and the content of this chapter has likely changed substanstially.
An Object Factory that can be substituted at execution time.
An abstract class defines the Factory Methods[GOF] to be supplied by each concrete factory class. This allows us to supply one of several different factory objects at runtime thus letting us build different classes in different circumstances (such as during automated testing.)
Copyright © 2003-2008 Gerard Meszaros all rights reserved