Abstract Factory Design Pattern:
In the Factory design pattern, there is a Factory class which create objects. Simply speaking Factory class is the factory of objects. Abstract Design Pattern is one level above the Factory design pattern and provides Factory of factory. Thus Abstract Factory Design Pattern is used to return one of several factories.
Examples:
In java 1.2, the pluggable look-and-feel classes accomplish this at the system level so that instances of the visual interface components are returned correctly once the program selects the type of look and feel
Thursday, February 12, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment