adspace


What is dirtiescontext?

Answer Posted / Vibhav Kumar Gaurav

In Spring Framework, DirtiesContext is an interface that indicates which beans have been modified or created and should be re-initialized when the ApplicationContext changes state. By implementing this interface on a bean, developers can influence its lifecycle and ensure that it is updated when necessary.

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