Changes

Jump to: navigation, search

Mediator

402 bytes added, 17:15, 27 March 2007
Explain
[[Image:Example.png]]
==Explain==
The mediator pattern acts as a mediator by directing the communication between objects. This allows for lower coupling and more flexability and ease of modification if the interaction between objects is ever changed.
As seen in the Diagram above the mediator pattern generally involves a mediator object which hold serveral colleagues. The mediator is used to relay messages between these colleagues.
 
==Example==
===General Java Example===
1
edit

Navigation menu