code: public void setHandler(IScopeHandler handler) {
          log.debug("setHandler: {} on {}", handler, name);
          this.handler = handler;
          if (handler instanceof IScopeAware) {
              ((IScopeAware) handler).setScope(this);
          }
      }
docs: Setter for scope event handler
  
  @param handler
  Event handler