public class WsContextListener extends java.lang.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)
javax.servlet.ServletContextListenercontextInitialized in interface ServletContextListenersce - Information about the ServletContext that was initializedpublic void contextDestroyed(ServletContextEvent sce)
javax.servlet.ServletContextListenercontextDestroyed in interface ServletContextListenersce - Information about the ServletContext that was destroyedCopyright © 2000-2024 Apache Software Foundation.
Apache Tomcat, Tomcat, Apache, the Apache Tomcat logo and the Apache logo are either registered trademarks or trademarks of the Apache Software Foundation.