code: @Override
     public RegistryEntry getEntry(final SessionProvider sessionProvider, final String entryPath)
        throws PathNotFoundException, RepositoryException
     {
  
        final String fullPath = "/" + EXO_REGISTRY + "/" + entryPath;
        Session session = session(sessionProvider, repositoryService.getCurrentRepository());
        try
        {
           ByteArrayOutputStream out = new ByteArrayOutputStream();
           session.exportDocumentView(fullPath, out, true, false);
           return RegistryEntry.parse(out.toByteArray());
        }
        catch (IOException e)
        {
           throw new RepositoryException("Can't export node " + fullPath + " to XML representation " + e);
        }
        catch (ParserConfigurationException e)
        {
           throw new RepositoryException("Can't export node " + fullPath + " to XML representation " + e);
        }
        catch (SAXException e)
        {
           throw new RepositoryException("Can't export node " + fullPath + " to XML representation " + e);
        }
     }
docs: {@inheritDoc}