Ezio's Blog
Posts Categories Tags Music Mood About
Ezio's Blog· Light
☰ Menu
Posts Categories Tags Music Mood About

工厂方法模式

Author: Ezio Date: November 1, 2022  16:58:58 Category: 设计模式

亦称: 虚拟构造函数、Virtual Constructor、Factory Method

**工厂方法模式 **是一种创建型设计模式, 其在父类中提供一个创建对象的方法, 允许子类决定实例化对象的类型。

Author: Ezio

Permalink: https://ezioy.cn/2022/11/01/%E5%B7%A5%E5%8E%82%E6%96%B9%E6%B3%95%E6%A8%A1%E5%BC%8F/

License: Copyright (c) 2019 CC-BY-NC-4.0 LICENSE

Slogan: Nothing is true,Everything is permitted

Tag(s): # 设计模式
back · home
Docker安装ES Spring-BeanFactoryAware接口
Ezio © 2019 - 2026 | Powered by Hexo & Chic | 访客数量:   浏览次数: | 渝公网安备50011302222043 | 渝ICP备2023013933号-1