RELATEED CONSULTING
相关咨询
选择下列产品马上在线沟通
服务时间:9:30-18:00
你可能遇到了下面的问题
关闭右侧工具栏
Abstract Factory
  • 作者:xiaoxiao
  • 发表时间:2020-12-23 10:58
  • 来源:未知

Benefits: It isolates client from concrete (implementation) classes. It eases the exchanging of object families. It promotes consistency among objects.

Applicable Scenarios: The system needs to be independent of how its objects are created, composed, and represented. The system needs to be configured with one of a multiple family of objects. The family of related objects is intended to be used together and this constraint needs to be enforced. You want to provide a library of objects that does not show implementations and only reveals interfaces.