docs: public void attachTo(ContextFactory factory) {
          detach();
          this.contextFactory = factory;
          this.listener = new DimIProxy(this, IPROXY_LISTEN);
          factory.addListener(this.listener);
      }