public class WsSci extends 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(Set<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(Set<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-2016 Apache Software Foundation. All Rights Reserved.