- 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
推薦閱讀
- 大學(xué)計(jì)算機(jī)基礎(chǔ)(第三版)
- VMware View Security Essentials
- 潮流:UI設(shè)計(jì)必修課
- PyTorch自動(dòng)駕駛視覺感知算法實(shí)戰(zhàn)
- Python高效開發(fā)實(shí)戰(zhàn):Django、Tornado、Flask、Twisted(第2版)
- C語言從入門到精通(第4版)
- Monitoring Elasticsearch
- Hands-On Enterprise Automation with Python.
- 編程菜鳥學(xué)Python數(shù)據(jù)分析
- Java程序設(shè)計(jì)案例教程
- Python從入門到精通
- Apache Camel Developer's Cookbook
- JavaScript機(jī)器人編程指南
- 精通Spring:Java Web開發(fā)與Spring Boot高級(jí)功能
- SaaS攻略:入門、實(shí)戰(zhàn)與進(jìn)階