Class WsSci
- java.lang.Object
- 
- org.apache.tomcat.websocket.server.WsSci
 
- 
- All Implemented Interfaces:
- ServletContainerInitializer
 
 public class WsSci extends java.lang.Object implements ServletContainerInitializer Registers an interest in any class that is annotated withServerEndpointso that Endpoint can be published via the WebSocket server.
- 
- 
Constructor SummaryConstructors Constructor Description WsSci()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonStartup(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 theHandlesTypesannotation.
 
- 
- 
- 
Method Detail- 
onStartuppublic void onStartup(java.util.Set<java.lang.Class<?>> clazzes, ServletContext ctx) throws ServletExceptionDescription 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 interface- ServletContainerInitializer
- Parameters:
- clazzes- The (possibly null) set of classes that met the specified criteria
- ctx- The ServletContext of the web application in which the classes were discovered
- Throws:
- ServletException- If an error occurs
 
 
- 
 
-