package Ġmi ja . hex . infrastructure . app . order . adapter . secondary Ċ Ċ import Ġmi ja . hex . domain . order . infrastructure . Order Facade Ċ import Ġmi ja . hex . domain . order . infrastructure . port . secondary . Log istics Ċ import Ġmi ja . hex . domain . order . infrastructure . port . secondary . Order Store Ċ import Ġmi ja . hex . infrastructure . Command Bus Ċ import Ġorg . springframework . context . annotation . Bean Ċ import Ġorg . springframework . context . annotation . Configuration Ċ Ċ @ Configuration (" config - food - order - domain ") Ċ internal Ġclass ĠConfig Ġ{ ĊĠĠĠ Ġ@ Bean ĊĠĠĠ Ġfun Ġorder Facade ( order Store : ĠOrder Store , Ġlogist ics : ĠLog istics ) Ġ= ĠOrder Facade ( order Store , Ġlogist ics ) ĊĊĠĠĠ Ġ@ Bean ĊĠĠĠ Ġfun Ġorder Store (): ĠOrder Store Ġ= ĠIn Memory Order Store () ĊĊĠĠĠ Ġ@ Bean ĊĠĠĠ Ġfun Ġget Log istics ( command Bus : ĠCommand Bus ): ĠLog istics Ġ= ĠTrue Log istics ( command Bus ) Ċ }