Detects beans of type {@link javax.websocket.server.ServerEndpointConfig} and registerswith the standard Java WebSocket runtime. Also detects beans annotated with {@link ServerEndpoint} and registers them as well. Although not required, it is likelyannotated endpoints should have their {@code configurator} property set to{@link SpringConfigurator}.
When this class is used, by declaring it in Spring configuration, it should be possible to turn off a Servlet container's scan for WebSocket endpoints. This can be done with the help of the {@code } element in {@code web.xml}.
@author Rossen Stoyanchev
@author Juergen Hoeller
@since 4.0
@see ServerEndpointRegistration
@see SpringConfigurator
@see ServletServerContainerFactoryBean