package Ġde . z al ando . z ally . configuration Ċ Ċ import Ġde . z al ando . z ally . rule . Api Validator Ċ import Ġde . z al ando . z ally . rule . Composite Rules Validator Ċ import Ġorg . springframework . beans . factory . annotation . Autowired Ċ import Ġorg . springframework . context . annotation . Bean Ċ import Ġorg . springframework . context . annotation . Configuration Ċ import Ġorg . springframework . context . annotation . Primary Ċ Ċ @ Configuration Ċ open Ġclass ĠRules Validator Configuration Ġ{ ĊĊĠĠĠ Ġ@ Autowired ĊĠĠĠ Ġprivate Ġval Ġcomposite Validator : ĠComposite Rules Validator ? Ġ= Ġnull ĊĊĠĠĠ Ġ@ Bean ĊĠĠĠ Ġ@ Primary ĊĠĠĠ Ġopen Ġfun Ġvalidator (): ĠApi Validator ? Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġcomposite Validator ĊĠĠĠ Ġ} Ċ } Ċ