docs: static void endInitialization(WeldContainer container, boolean isShutdownHookEnabled) {
          container.complete();
          // If needed, register one shutdown hook for all containers
          if (shutdownHook == null && isShutdownHookEnabled) {
              synchronized (LOCK) {
                  if (shutdownHook == null) {
                      shutdownHook = new ShutdownHook();
                      SecurityActions.addShutdownHook(shutdownHook);
                  }
              }
          }
          container.fireContainerInitializedEvent();
      }