public class WsContextListener extends Object implements javax.servlet.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(javax.servlet.ServletContextEvent sce) |
void |
contextInitialized(javax.servlet.ServletContextEvent sce) |
public void contextInitialized(javax.servlet.ServletContextEvent sce)
contextInitialized
in interface javax.servlet.ServletContextListener
public void contextDestroyed(javax.servlet.ServletContextEvent sce)
contextDestroyed
in interface javax.servlet.ServletContextListener
Copyright © 2015 JBoss by Red Hat. All rights reserved.