code: protected void readParamsFromRegistryService(SessionProvider sessionProvider) throws PathNotFoundException,
        RepositoryException
     {
        if (LOG.isDebugEnabled())
        {
           LOG.debug("<<< Read init parametrs from registry service.");
        }
  
        observationListenerConfiguration = new ObservationListenerConfiguration();
  
        String entryPath = RegistryService.EXO_SERVICES + "/" + SERVICE_NAME + "/" + "nodeType";
        RegistryEntry registryEntry = registryService.getEntry(sessionProvider, entryPath);
        Document doc = registryEntry.getDocument();
        Element element = doc.getDocumentElement();
        nodeType = getAttributeSmart(element, "value");
  
        entryPath = RegistryService.EXO_SERVICES + "/" + SERVICE_NAME + "/" + "repository";
        registryEntry = registryService.getEntry(sessionProvider, entryPath);
        doc = registryEntry.getDocument();
        element = doc.getDocumentElement();
        observationListenerConfiguration.setRepository(getAttributeSmart(element, "value"));
  
        entryPath = RegistryService.EXO_SERVICES + "/" + SERVICE_NAME + "/" + "workspaces";
        registryEntry = registryService.getEntry(sessionProvider, entryPath);
        doc = registryEntry.getDocument();
        element = doc.getDocumentElement();
        String workspaces = getAttributeSmart(element, "value");
  
        String ws[] = workspaces.split(";");
        List<String> wsList = new ArrayList<String>();
        for (String w : ws)
        {
           wsList.add(w);
        }
  
        observationListenerConfiguration.setWorkspaces(wsList);
  
        LOG.info("NodeType from RegistryService: " + getNodeType());
        LOG.info("Repository name from RegistryService: "
           + (observationListenerConfiguration.getRepository() != null ? observationListenerConfiguration.getRepository()
              : "not configured, will be used the current one"));
  
        LOG.info("List of workspaces from RegistryService: " + observationListenerConfiguration.getWorkspaces());
     }
docs: Read parameters from RegistryService.
  
  @param sessionProvider the SessionProvider
  @throws RepositoryException
  @throws PathNotFoundException