adspace


What is @required annotation in spring?

Answer Posted / Vinay Kant Verma

@Required annotation in Spring is used with Autowired to indicate that a particular bean dependency must be autowired, or else it will result in a BeanCreationException at runtime.

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


How can you inject java collection in spring?

518


What is lazy class?

490