adspace


What is the default autowire in spring?

Answer Posted / Jaskaran Lal Verma

The default autowire mode in Spring is by type (Autowired(required=true)). This means that when a bean is requested for autowiring and no specific bean of that type is found, Spring will throw an exception.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between @controller and @restcontroller in spring?

556


What is lazy class?

490


How can you inject java collection in spring?

518