package Ġcom . by but ter . sis y ph us . middleware . redis Ċ Ċ import Ġorg . springframework . boot . autoconfigure . condition . Conditional On Missing Bean Ċ import Ġorg . springframework . context . annotation . Bean Ċ import Ġorg . springframework . context . annotation . Component Scan Ċ import Ġorg . springframework . context . annotation . Configuration Ċ Ċ @ Configuration Ċ @ Component Scan ( base Package Classes Ġ= Ġ[ S isy ph us Redis Auto Configuration :: class ]) Ċ class ĠS isy ph us Redis Auto Configuration Ġ{ ĊĠĠĠ Ġ@ Bean ĊĠĠĠ Ġ@ Conditional On Missing Bean ( value Ġ= Ġ[ Redis Client Factory :: class ]) ĊĠĠĠ Ġfun Ġdefault Redis Client Factory (): ĠRedis Client Factory Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠDefault Redis Client Factory () ĊĠĠĠ Ġ} Ċ } Ċ