code: public NodeTypeManager getNodeTypeManager() throws RepositoryException
     {
        // incl Session mapping
        return new NodeTypeManagerImpl(session.getLocationFactory(), session.getValueFactory(), nodeTypeManager, session
           .getTransientNodesManager());
     }
docs: {@inheritDoc}