Suggest some methods of overcoming Interface mismatch

 Posted by Niladri.Biswas on 11/8/2012 | Category: Design Pattern & Practices Interview questions | Views: 2858 | Points: 40


In this technique the component to be repaired is encapsulated (or wrapped) into an alternative abstraction. Clients access the wrapped component services only through an alternative interface provided by the wrapper.


A bridge translates some requires assumptions one component into some provides assumptions of another


Mediators exhibit properties of both bridges and wrappers. The major distinction between bridges and mediators, however, is that mediators incorporate a planning function that in effect results in run-time determination of the translation.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response