code: @SuppressWarnings("unchecked")
      protected void processInitialWsLogHandlerServices() throws InvalidSyntaxException {
          ServiceReference<WsLogHandler>[] servRefs = (ServiceReference<WsLogHandler>[])
                          bundleContext.getServiceReferences(WsLogHandler.class.getName(), null);
  
          if (servRefs != null) {
              for (ServiceReference<WsLogHandler> servRef : servRefs) {
                  setWsLogHandler(servRef);
              }
          }
      }
docs: Search for and add any WsLogHandler ServiceReferences that were already started
  by the time we registered our ServiceListener.