title: How component scan in spring?Is it initialize all object as singleton or it lazy initialize?
body: <p>I want to know about how spring servlet component scan works? and it scan @Service,@Component etc scan.But I am not clear how it works? What flow works behind this?</p>