Next Previous Contents

6.11 Supporting containment

An interface is said to contain another if its implementation relies on another the interface of another component to operate. The external interface of the container component does not directly expose any of the contained component's methods, but it calls upon them to operate.

Supporting containment is trivial, the user-supplied component constructor can create any contained component that it wishes.


Next Previous Contents