Factory

Pattern : Factory

A component for building complex domain aggregates. Think of the common JAVA design patterns : builder and factory

  • Hides the complex aggregate creation process
  • Manages the representation of the aggrgate object
  • Maintains consistency across entities that make up the aggregate

tactical-patterns