code: public void registerNamespace(String prefix, String uri) throws NamespaceException, RepositoryException
     {
  
        validateNamespace(prefix, uri);
  
        registerNamespace(prefix, uri, true);
        if (started && rpcService != null)
        {
           try
           {
              rpcService.executeCommandOnAllNodes(registerNamespace, false, id, prefix, uri);
           }
           catch (Exception e)
           {
              LOG.warn("Could not register the namespace '" + uri + "' on other cluster nodes", e);
           }
        }
     }
docs: {@inheritDoc}