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