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

          導航

          常用鏈接

          留言簿(8)

          隨筆分類(45)

          隨筆檔案(82)

          文章檔案(2)

          Java Spaces

          搜索

          •  

          積分與排名

          • 積分 - 65603
          • 排名 - 816

          最新評論

          閱讀排行榜

          評論排行榜

           
          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 閱讀(205) 評論(0)  編輯  收藏 所屬分類: Design Patterns
           
          Copyright © Dedian Powered by: 博客園 模板提供:滬江博客
          主站蜘蛛池模板: 义乌市| 龙胜| 南丰县| 望谟县| 正镶白旗| 工布江达县| 江安县| 贵德县| 沁水县| 望城县| 海门市| 朝阳区| 泾阳县| 黑水县| 沾化县| 湘西| 田林县| 克山县| 延川县| 博兴县| 会宁县| 九龙县| 清徐县| 光泽县| 德昌县| 新闻| 东海县| 光山县| 遂宁市| 于田县| 枣强县| 沁源县| 永年县| 五大连池市| 宜丰县| 明水县| 囊谦县| 石阡县| 上饶市| 论坛| 武穴市|