}
public void unregisterNodeTypes(Name[] nodeTypeNames) throws NoSuchNodeTypeException, RepositoryException {
service.unregisterNodeTypes(sessionInfo, nodeTypeNames);
}
};
NodeTypeCache ntCache = NodeTypeCache.getInstance(service, sessionInfo.getUserID());
ntst = ntCache.wrap(ntst);
return NodeTypeRegistryImpl.create(ntst, nsRegistry);
}