NamespaceRegistryImpl nsRegistry,
QueryHandler parentHandler,
NodeId excludedNodeId,
Executor executor) {
this.stateMgr = stateMgr;
this.hmgr = new CachingHierarchyManager(rootId, stateMgr);
this.stateMgr.addListener(hmgr);
this.pm = pm;
this.rootId = rootId;
this.ntRegistry = ntRegistry;
this.nsRegistry = nsRegistry;