Mediator pattern

E679872

The Mediator pattern is a behavioral design pattern that centralizes complex communication and control logic between multiple objects, promoting loose coupling by having them interact through a mediator instead of directly with each other.

All labels observed (3)

Label Occurrences
Mediator pattern canonical 4
ConcreteMediator 1
Object Mediator 1

How this entity was disambiguated

Statements (47)

Predicate Object
instanceOf behavioral design pattern ⓘ
software design pattern ⓘ
alias Object Mediator ⓘ
linked to: Mediator pattern
appliedIn GUI widget interaction management ⓘ
chat room or messaging systems ⓘ
user interface dialog coordination ⓘ
workflow and business process coordination ⓘ
belongsTo Gang of Four design patterns ⓘ
benefit localizes behavior that would otherwise be distributed among several objects ⓘ
simplifies object protocols ⓘ
category behavioral pattern ⓘ
communicationStyle colleagues do not reference each other directly ⓘ
indirect communication via mediator ⓘ
consequence centralizes control logic in mediator ⓘ
mediator can become complex and monolithic ⓘ
reduces number of inter-object dependencies ⓘ
defines colleague objects that communicate via mediator ⓘ
mediator object that encapsulates communication logic ⓘ
describedIn Design Patterns: Elements of Reusable Object-Oriented Software ⓘ
differsFrom Observer pattern by centralizing rather than distributing control ⓘ
drawback mediator can become a god object if overused ⓘ
firstPublishedYear 1994 ⓘ
intent define an object that encapsulates how a set of objects interact ⓘ
introducedBy Erich Gamma ⓘ
John Vlissides ⓘ
Ralph Johnson ⓘ
Richard Helm ⓘ
primaryGoal centralize complex communication between objects ⓘ
reduce coupling between collaborating objects ⓘ
promotes loose coupling ⓘ
open-closed principle ⓘ
single-responsibility principle ⓘ
relatedTo Command pattern ⓘ
Facade pattern ⓘ
linked to: Facade

Observer pattern ⓘ
solves complex many-to-many object communication ⓘ
tight coupling between colleague objects ⓘ
structure colleague objects hold reference to mediator ⓘ
mediator holds references to colleague objects ⓘ
typicalImplementation Mediator interface with concrete mediator class ⓘ
colleagues notify mediator instead of other colleagues ⓘ
typicalParticipants Colleague ⓘ
ConcreteColleague ⓘ
ConcreteMediator ⓘ
linked to: Mediator pattern

Mediator ⓘ
usedFor coordinating interactions in complex subsystems ⓘ
decoupling UI components ⓘ

How these facts were elicited

Referenced by (6)

Full triples — surface form annotated when it differs from this entity's canonical label.

Facade → canCollaborateWith → Mediator pattern ⓘ
Chain of Responsibility → relatedTo → Mediator pattern ⓘ
Observer → relatedTo → Mediator pattern ⓘ
Mediator pattern → typicalParticipants → ConcreteMediator ⓘ
linked to: Mediator pattern
Mediator pattern → alias → Object Mediator ⓘ
linked to: Mediator pattern
Gang of Four design pattern → hasExample → Mediator pattern ⓘ