code: @Activate
      protected void activate(ComponentContext cc) {
          executorServiceRef.activate(cc);
          scheduledExecutorServiceRef.activate(cc);
          classLoadingServiceSR.activate(cc);
          WSExecutorService executorService = executorServiceRef.getService();
          ScheduledExecutorService scheduledExecutorService = scheduledExecutorServiceRef.getService();
          if (executorService != null && scheduledExecutorService != null) {
              automaticeWorkQueue = new LibertyJaxRsAutomaticWorkQueueImpl(scheduledExecutorService, executorService);
              workQueueBusListener = new LibertyAutomaticWorkQueueBusListener();
              LibertyApplicationBusFactory.getInstance().registerApplicationBusListener(workQueueBusListener);
              if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
                  Tr.debug(tc, "LibertyAutomaticWorkQueueBusListener is registered into LibertyApplicationBusFactory");
              }
          } else {
              if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
                  Tr.debug(tc, "LibertyAutomaticWorkQueueBusListener is not registered into LibertyApplicationBusFactory due to executorService {0} or scheduledExecutorService {1}",
                           (executorService == null ? "NULL" : "NOT NULL"), (scheduledExecutorService == null ? "NULL" : "NOT NULL"));
              }
          }
      }
docs: /*
  Called by Declarative Services to activate service