ในสามบริบท Bounded Context ตัวอย่างทั้งหมด มี Factory sites อยู่บน Aggregate Root Entities ซึ่ง Table 11.1 แสดงสรุปไว้

Table 11.1. ตำแหน่งของ Factory Methods บน Aggregates

Image

ผมอธิบาย Product Factory Methods ภายใต้ Aggregates (10) ตัวอย่างเช่น method planBacklogItem() จะสร้าง BacklogItem ใหม่ ซึ่งเป็น Aggregate ที่ส่งกลับให้ client

เพื่อแสดงการออกแบบ Factory Methods มาดูสามตัวใน Collaboration Context