Relationships

[Previous] [Next]

The client application doesn't declare variables of the concrete class type. Instead it declares variables that maintain references to objects that support the Product and Factory interfaces. How the client obtains a reference to a ConcreteFactory object can vary depending on the system design, but references to ConcreteProduct objects are always provided by the ConcreteFactory.



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