Dedian  
          -- 關注搜索引擎的開發
          日歷
          <2006年4月>
          2627282930311
          2345678
          9101112131415
          16171819202122
          23242526272829
          30123456
          統計
          • 隨筆 - 82
          • 文章 - 2
          • 評論 - 228
          • 引用 - 0

          導航

          常用鏈接

          留言簿(8)

          隨筆分類(45)

          隨筆檔案(82)

          文章檔案(2)

          Java Spaces

          搜索

          •  

          積分與排名

          • 積分 - 66092
          • 排名 - 813

          最新評論

          閱讀排行榜

          評論排行榜

           
          Purpose:
          Defines a higher-level interface to hide subsystem's complexities and provides an easy interface for client to use.

          Case study:
          Compiler subsystem

          Structure:
          -- The facade and backend classes(subsystem classes) are in a separate package from the client.
          -- The backend API is package-private
          -- The facade API is public.

          Implementation:
          consider following two issues when implementing a facade:
          -- Reducing client-subsystem coupling.
          -- Public versus private subsystem classes.

          reference:
          http://www.allapplabs.com/java_design_patterns/facade_pattern.htm
          posted on 2006-04-20 10:04 Dedian 閱讀(210) 評論(0)  編輯  收藏 所屬分類: Design Patterns
           
          Copyright © Dedian Powered by: 博客園 模板提供:滬江博客
          主站蜘蛛池模板: 聂拉木县| 方山县| 龙山县| 莱芜市| 南城县| 牟定县| 永年县| 栾川县| 定安县| 新宾| 贺兰县| 吉隆县| 襄汾县| 东台市| 陈巴尔虎旗| 天峻县| 宕昌县| 称多县| 衡阳县| 罗田县| 开封市| 富阳市| 城步| 平舆县| 浦江县| 余姚市| 南充市| 孝义市| 柳江县| 呼和浩特市| 临潭县| 阳城县| 大田县| 旬邑县| 虹口区| 凤台县| 唐河县| 清远市| 沅陵县| 色达县| 民勤县|