Roles

[Previous] [Next]

The roles and functions of the elements of the Object Factory design pattern are as follows:

  • Product The interface expected by the client
  • ConcreteProduct The concrete class that implements the Product interface
  • Factory The interface that defines a method for creating instances of concrete classes that support the Product interface
  • ConcreteFactory The concrete class that implements the Factory interface and provides the functionality to create instances of a corresponding ConcreteProduct class


Microsoft Visual Basic Design Patterns
Microsoft Visual Basic Design Patterns (Microsoft Professional Series)
ISBN: B00006L567
EAN: N/A
Year: 2000
Pages: 148

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net