code: @Override
      public void setApplication(MultiThreadedApplicationAdapter application) {
          log.info("WebSocketPlugin application: {}", application);
          // get the app scope
          final IScope appScope = application.getScope();
          // put if not already there
          managerMap.putIfAbsent(appScope, new WebSocketScopeManager());
          // add the app scope to the manager
          managerMap.get(appScope).setApplication(appScope);
          super.setApplication(application);
      }
docs: {@inheritDoc}