单项选择题

当Web应用程序被关闭时,Servlet容器会调用Servlet Context“监听器”的哪个方法?()

A.contextInitialized()
B.contextDestroyed()
C.contextFinialized()
D.contextShutdown()