Home / CSE MCQs / Spring MCQs :: Discussion

Discussion :: Spring MCQs

  1. Which method is used to gracefully shutdown all the bean processes after closing the spring container?
  2. A.
    shutdownHook
    B.
    destory method
    C.
    none of the mentioned
    D.
    all of the mentioned

    View Answer

    Workspace

    Answer : Option A

    Explanation :

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


Be The First To Comment