| What is ContextStoppedEvent event?
Choose the correct option from below list
(1)This event is published when the Servlet Context is either initialized or refreshed.
(2)This event is published when the ApplicationContext is stopped using the stop method on the ConfigurableApplicationContext interface.
(3)This event is published when the HTTP Request is received.
(4)This event is published when the HTTP Response is returned.
Answer:-(2)This event is published when the ApplicationContext is stopped using the stop method on the ConfigurableApplicationContext interface. | | |