code: private void readParamsFromRegistryService(SessionProvider sessionProvider) throws PathNotFoundException,
              RepositoryException
     {
        String entryPath = RegistryService.EXO_SERVICES + "/" + SERVICE_NAME + "/" + "workspace";
        RegistryEntry registryEntry = registryService.getEntry(sessionProvider, entryPath);
        Document doc = registryEntry.getDocument();
        Element element = doc.getDocumentElement();
        repoWorkspaceName = getAttributeSmart(element, "value");
  
        entryPath = RegistryService.EXO_SERVICES + "/" + SERVICE_NAME + "/" + "rootNode";
        registryEntry = registryService.getEntry(sessionProvider, entryPath);
        doc = registryEntry.getDocument();
        element = doc.getDocumentElement();
        rootNodePath = getAttributeSmart(element, "value");
  
        LOG.info("Workspace from RegistryService: " + repoWorkspaceName);
        LOG.info("RootNode from RegistryService: " + rootNodePath);
     }
docs: Read parameters from RegistryService.
  
  @param sessionProvider
  The SessionProvider
  @throws RepositoryException
  @throws PathNotFoundException