code: @Override
      public void setup(final Application application) {
          endpointClasses.clear();
          subscribeSystemEvent(ClassFoundEvent.class, event -> event.accept(info -> {
              if (info.accpet(ctClass -> ctClass.hasAnnotation(WebSocket.class))) {
                  endpointClasses.add(info.toClass());
                  return true;
              }
              return false;
          }));
  
          application.register(WebSocketFeature.class);
      }
docs: {@inheritDoc}