public class WsContextListener extends Object implements ServletContextListener
ServletContextListener does not need to be
 explicitly configured as the WsSci performs all the necessary
 bootstrap and installs this listener in the ServletContext. If the
 WsSci is disabled, this listener must be added manually to every
 ServletContext that uses WebSocket to bootstrap the
 WsServerContainer correctly.| Constructor and Description | 
|---|
| WsContextListener() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | contextDestroyed(ServletContextEvent sce)Notification that the servlet context is about to be shut down. | 
| void | contextInitialized(ServletContextEvent sce)Notification that the web application initialization process is starting. | 
public void contextInitialized(ServletContextEvent sce)
ServletContextListenercontextInitialized in interface ServletContextListenersce - Information about the ServletContext that was initializedpublic void contextDestroyed(ServletContextEvent sce)
ServletContextListenercontextDestroyed in interface ServletContextListenersce - Information about the ServletContext that was destroyedCopyright © 2000-2020 Apache Software Foundation. All Rights Reserved.