package Ġio . hol unda . camunda . task pool . core Ċ Ċ import Ġio . hol unda . camunda . task pool . core . business . Data Entry Aggregate Ċ import Ġio . hol unda . camunda . task pool . core . task . Task Aggregate Ċ import Ġorg . ax on framework . events ourcing . Event S ourcing Repository Ċ import Ġorg . ax on framework . events ourcing . event store . Event Store Ċ import Ġorg . springframework . context . annotation . Bean Ċ import Ġorg . springframework . context . annotation . Component Scan Ċ import Ġorg . springframework . context . annotation . Configuration ĊĊ Ċ @ Configuration Ċ @ Component Scan Ċ open Ġclass ĠTask Pool Core Configuration Ġ{ ĊĊĠ Ġ@ Bean ĊĠ Ġopen Ġfun Ġtask Aggregate Repository ( event Store : ĠEvent Store ): ĠEvent S ourcing Repository < Task Aggregate > Ġ{ ĊĠĠĠ Ġreturn ĠEvent S ourcing Repository ( Task Aggregate :: class . java , Ġevent Store ) ĊĠ Ġ} ĊĊĠ Ġ@ Bean ĊĠ Ġopen Ġfun Ġdata Entry Aggregate Repository ( event Store : ĠEvent Store ): ĠEvent S ourcing Repository < Data Entry Aggregate > Ġ{ ĊĠĠĠ Ġreturn ĠEvent S ourcing Repository ( Data Entry Aggregate :: class . java , Ġevent Store ) ĊĠ Ġ} Ċ Ċ } Ċ