javax.servlet.ServletContainerInitializerpublic class WsSci
extends java.lang.Object
implements javax.servlet.ServletContainerInitializer
ServerEndpoint so that Endpoint can be published via the WebSocket
server.| Constructor | Description |
|---|---|
WsSci() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
onStartup(java.util.Set<java.lang.Class<?>> clazzes,
javax.servlet.ServletContext ctx) |
Receives notification during startup of a web application of the classes
within the web application that matched the criteria defined via the
HandlesTypes annotation. |
public void onStartup(java.util.Set<java.lang.Class<?>> clazzes,
javax.servlet.ServletContext ctx)
throws javax.servlet.ServletException
javax.servlet.ServletContainerInitializerHandlesTypes annotation.onStartup in interface javax.servlet.ServletContainerInitializerclazzes - The (possibly null) set of classes that met the specified
criteriactx - The ServletContext of the web application in which the
classes were discoveredjavax.servlet.ServletException - If an error occursCopyright © 2000-2019 Apache Software Foundation. All Rights Reserved.