Sail E0 Webinar
Question
Which method is used to gracefully shutdown all the bean processes after closing the spring container?
Options:
A .  shutdownHook
B .  destory method
C .  none of the mentioned
D .  all of the mentioned
Answer: Option A


ShutdownHook method gracefully shuts down each bean process before closing the container.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers