Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
design_pattern:factory_method_pattern [2017/10/28 09:06] – [Factory Method Pattern] ledyxdesign_pattern:factory_method_pattern [2021/02/07 03:26] (current) – [Factory Method Pattern] ledyx
Line 4: Line 4:
   * [[template_method_pattern]]을 인스턴스 생성에 적용한 패턴.   * [[template_method_pattern]]을 인스턴스 생성에 적용한 패턴.
  
-{{tag>Architecture Modeling DesignPattern Creational}}+{{tag>Architecture Modeling Design_Pattern Creational}}
  
 = 인스턴스 생성을 위한 Framework(골격) 측 = = 인스턴스 생성을 위한 Framework(골격) 측 =
Line 18: Line 18:
 package framework; package framework;
  
 +/* 가장 핵심 부분! */
 public abstract class Factory { public abstract class Factory {
  public final Product create(String owner) {  public final Product create(String owner) {
Line 83: Line 84:
 </sxh> </sxh>
  
-실행 =+Client =
 <sxh java> <sxh java>
 import framework.*; import framework.*;
design_pattern/factory_method_pattern.1509177972.txt.gz · Last modified: 2021/02/07 03:15 (external edit)