code: public void start()
     {
        try
        {
           processAddPathPlugin(pathPlugins_, "/", null);
        }
        catch (Exception e)
        {
           LOG.error("An error occurs while processing the plugins", e);
        }
  
        if (isNeededToMigrate())
        {
           try
           {
              migrate();
           }
           catch (RepositoryException e)
           {
              LOG.error("An error occurs while upgrading JCR structure", e);
           }
        }
     }
docs: {@inheritDoc}