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.ServletContextListener
contextInitialized
in interface ServletContextListener
sce
- Information about the ServletContext that was initializedpublic void contextDestroyed(ServletContextEvent sce)
javax.servlet.ServletContextListener
contextDestroyed
in interface ServletContextListener
sce
- Information about the ServletContext that was destroyedCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.