adspace


What is getbean in spring?

Answer Posted / Akash Jha

getBean() is a method provided by the ApplicationContext and BeanFactory interfaces in Spring Framework. It is used to retrieve an object of a specific bean type from the Spring container.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you inject java collection in spring?

518


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

556


What is lazy class?

490