docs: private boolean addToWebContainer() {
          if (!Thread.holdsLock(terminated)) {
              throw new IllegalStateException();
          }
          synchronized (addRemoveLock) {
              if (installer.installIntoWebContainer(this)) {
                  setState(State.DEPLOYED);
                  return true;
              } else {
                  closeTracker();
                  return false;
              }
          }
      }