public class WsSci extends java.lang.Object implements ServletContainerInitializer
ServerEndpoint
so that Endpoint can be published via the WebSocket
server.Constructor and Description |
---|
WsSci() |
Modifier and Type | Method and Description |
---|---|
void |
onStartup(java.util.Set<java.lang.Class<?>> clazzes,
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, ServletContext ctx) throws ServletException
javax.servlet.ServletContainerInitializer
HandlesTypes
annotation.onStartup
in interface ServletContainerInitializer
clazzes
- The (possibly null) set of classes that met the specified
criteriactx
- The ServletContext of the web application in which the
classes were discoveredServletException
- If an error occursCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.