code: @Override
      public void afterInitialized(BaseComponent comp) {
          root = (BaseUIComponent) comp;
          this.comp = root;
          comp.setAttribute(Constants.ATTR_COMPOSER, this);
          comp.addEventListener(ThreadEx.ON_THREAD_COMPLETE, threadCompletionListener);
          appContext = SpringUtil.getAppContext();
          appFramework = FrameworkUtil.getAppFramework();
          eventManager = EventManager.getInstance();
          initialize();
      }
docs: Override the doAfterCompose method to set references to the application context and the
  framework and register the controller with the framework.
  
  @param comp BaseComponent associated with this controller.