package Ġcom . ve o sp s . game . cache . map . x tea Ċ Ċ import Ġcom . ve o sp s . game . cache . map . x tea . loader . X tea File Loader Ċ import Ġcom . ve o sp s . game . cache . map . x tea . repository . X tea InMemory Repository Ċ import Ġcom . ve o sp s . game . config . models . Game Config Ċ import Ġcom . ve o sp s . game . event . EventBus Ċ import Ġcom . ve o sp s . game . models . repository . X tea Repository Ċ import Ġcom . ve o sp s . game . util . json Mapper Ċ import Ġorg . springframework . context . annotation . Bean Ċ import Ġorg . springframework . stereotype . Component Ċ Ċ @ Component Ċ class ĠX tea Provider ( ĊĠĠĠ Ġprivate Ġval Ġgame Config : ĠGame Config , ĊĠĠĠ Ġprivate Ġval Ġevent Bus : ĠEvent Bus Ċ ) Ġ{ ĊĊĠĠĠ Ġ@ Bean ĊĠĠĠ Ġfun Ġx tea Repository (): ĠX tea Repository Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠX tea InMemory Repository () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Bean ĊĠĠĠ Ġfun Ġx tea Loader ( x tea Repository : ĠX tea Repository ): ĠX tea File Loader Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠX tea File Loader ( game Config , Ġjson Mapper , Ġx tea Repository , Ġevent Bus ) ĊĠĠĠ Ġ} Ċ }