Mediator pattern

GPTKB entity

Statements (26)
Predicate Object
gptkbp:instanceOf Design Pattern
gptkbp:advantage Mediator can become complex
gptkbp:author gptkb:Erich_Gamma
gptkb:John_Vlissides
gptkb:Richard_Helm
gptkb:Ralph_Johnson
gptkbp:benefit decouples colleagues
limits subclassing
simplifies object protocols
gptkbp:category behavioral pattern
gptkbp:component Mediator
Colleague
gptkbp:describedBy gptkb:Design_Patterns:_Elements_of_Reusable_Object-Oriented_Software
gptkbp:example air traffic control system
chat room
gptkbp:firstPublished 1994
https://www.w3.org/2000/01/rdf-schema#label Mediator pattern
gptkbp:purpose centralize communication between objects
reduce coupling between components
gptkbp:relatedTo gptkb:Observer_pattern
gptkb:Facade_pattern
Command pattern
gptkbp:UMLRepresentation Mediator class with Colleague classes communicating through it
gptkbp:usedIn object-oriented programming
gptkbp:bfsParent gptkb:Facade_pattern
gptkbp:bfsLayer 4