Class WsContextListener

java.lang.Object
org.apache.tomcat.websocket.server.WsContextListener
All Implemented Interfaces:
ServletContextListener, EventListener

public class WsContextListener extends Object implements ServletContextListener
In normal usage, this 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.