Engati interview question

How spring bean is initialised