code: protected void initialize() {
          eventManager.subscribe(Constants.REFRESH_EVENT, refreshListener);
          appFramework.registerObject(FrameworkController.this);
          comp.addEventListener("destroy", (event) -> {
              cleanup();
          }
docs: Override to perform additional initializations.