What is dirtiescontext?



What is dirtiescontext?..

Answer / 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

More Spring Framework Interview Questions

Explain spring mvc architecture.

1 Answers  


How to validate if the bean was initialized using valid values?

1 Answers  


What do you understand by @required annotation?

1 Answers  


Why is spring boot used? : Spring Boot

1 Answers  


What is the use of jdbctemplate in spring?

1 Answers  


What are different bean scopes in spring?

1 Answers  


Is lazy loading enabled by default?

1 Answers  


What is the use of spring boot in java? : Spring Boot

1 Answers  


Can we use spring and hibernate together?

1 Answers  


How to enable mvc annotations in spring?

1 Answers  


What is spring data?

1 Answers  


What is the difference between @qualifier and @primary?

1 Answers  


Categories