关于[The Mediator Pattern]的摘要:
The Mediator Pattern one of the Behavioral Patterns defined by the Gang of Four in Design Patterns: Elements of Reusable Object-Oriented Software. Mediator pattern is used to reduce communication complexity between multiple objects or classes. The pattern provides a mediator class which handles all the communications between different classes and supports easy maintenance of the code by loose coupling. A mediator sits between method callers and receivers creating a configurable layer of abstraction that determines how callers and receivers get wired up.