docs: void removeAllEventListeners() {
          for (JcrListenerAdapter adapter : this.listeners) {
              assert (adapter != null);
              this.repositoryObservable.unregister(adapter);
          }
          this.listeners.clear();
      }