net.sourceforge.guacamole.net.basic
Class WebSocketSupportLoader
java.lang.Object
net.sourceforge.guacamole.net.basic.WebSocketSupportLoader
- All Implemented Interfaces:
- EventListener, javax.servlet.ServletContextListener
public class WebSocketSupportLoader
- extends Object
- implements javax.servlet.ServletContextListener
Simple ServletContextListener which loads a WebSocket tunnel implementation
if available, using the Servlet 3.0 API to dynamically load and install
the tunnel servlet.
Note that because Guacamole depends on the Servlet 2.5 API, and 3.0 may
not be available or needed if WebSocket is not desired, the 3.0 API is
detected and invoked dynamically via reflection.
- Author:
- Michael Jumper
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebSocketSupportLoader
public WebSocketSupportLoader()
contextDestroyed
public void contextDestroyed(javax.servlet.ServletContextEvent sce)
- Specified by:
contextDestroyed
in interface javax.servlet.ServletContextListener
contextInitialized
public void contextInitialized(javax.servlet.ServletContextEvent sce)
- Specified by:
contextInitialized
in interface javax.servlet.ServletContextListener
Copyright © 2013. All Rights Reserved.