October 13, 2003

Behavioral Pattern – Mediator

Provides a unified interface to a set of interfaces in a subsystem

The mediator pattern consists of a mediator class that is the only class that has detailed knowledge of the methods of other classes. Classes send messages to the mediator when needed and the mediator passes them on to any other classes that need to be informed. The mediator class promotes looser coupling between a number of other classes.



Mediator pattern discussion