ntReg = createNodeTypeRegistry(nsReg, new BasedFileSystem(repStore, "/nodetypes"));
// init workspace configs
Iterator iter = repConfig.getWorkspaceConfigs().iterator();
while (iter.hasNext()) {
WorkspaceConfig config = (WorkspaceConfig) iter.next();
WorkspaceInfo info = createWorkspaceInfo(config);
wspInfos.put(config.getName(), info);
}
// initialize optional clustering
// put here before setting up any other external event source that a cluster node
// will be interested in