Class WsSci
java.lang.Object
org.apache.tomcat.websocket.server.WsSci
- All Implemented Interfaces:
ServletContainerInitializer
Registers an interest in any class that is annotated with
ServerEndpoint so that Endpoint can be published
via the WebSocket server.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonStartup(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 theHandlesTypesannotation.
-
Constructor Details
-
WsSci
public WsSci()
-
-
Method Details
-
onStartup
Description copied from interface:javax.servlet.ServletContainerInitializerReceives notification during startup of a web application of the classes within the web application that matched the criteria defined via theHandlesTypesannotation.- Specified by:
onStartupin interfaceServletContainerInitializer- Parameters:
clazzes- The (possibly null) set of classes that met the specified criteriactx- The ServletContext of the web application in which the classes were discovered- Throws:
ServletException- If an error occurs
-