Enable Component Subcomponent Substitution

a client interacts with both components and subcomponents at the same level of abstraction
capture the common abstraction with an interface to enable substitution

Context:

Enable Component Subcomponent Substitution is a key refactoring in Evolving to the Composite Pattern

See also :Enable Substitution With Interfaces


Refactoring Thumbnails, Copyright © 2004 - 2005, Sven Gorts, All Rights Reserved.

[ Overview Page ] [ Thumbnail Catalog ]