官术网_书友最值得收藏!

  • Spring 5 Design Patterns
  • Dinesh Rajput
  • 115字
  • 2021-07-08 09:59:40

The UML structure for the Facade design pattern

The classes and objects participating in this pattern are:

  • Facade (BankingServiceFacade)

This is a Facade interface that knows which subsystem classes are responsible for a request. This interface is responsible for delegating client requests to appropriate subsystem objects.

  • Subsystem classes (AccountService, TransferService, PaymentService)

These interfaces are actually subsystem functionalities of the banking process system application. These are responsible for handling processes assigned by the Facade object. No interfaces in this category have a reference to the Facade object; they don't have implementation details of Facade. These are totally independent of Facade objects.

Let's see the following UML diagram for this pattern:

UML diagram for Facade design pattern
主站蜘蛛池模板: 甘泉县| 天峻县| 建水县| 布拖县| 临汾市| 德州市| 江西省| 贺兰县| 焉耆| 襄垣县| 南充市| 安达市| 始兴县| 武定县| 嘉峪关市| 太谷县| 义乌市| 罗定市| 安顺市| 偏关县| 凤城市| 文登市| 瓮安县| 鹿邑县| 上栗县| 杭锦后旗| 萨嘎县| 灵川县| 余干县| 金湖县| 呼和浩特市| 奉节县| 平武县| 乐陵市| 哈密市| 乐昌市| 东海县| 民丰县| 顺昌县| 伊宁市| 罗山县|